摘要: Linq做连表查询,可以先查出A、B表,然后再join A、B表,操作A、B组合的匿名表Xvar table1=from r in shiti.a() from y in r.years where y>2010 ... 阅读全文
posted @ 2015-08-25 16:30 IT火 阅读(879) 评论(0) 推荐(0) 编辑
摘要: 如果设置了特定页,项目启动时会按特定的路径走,所以在cshtml下F5是找不到页面的在mvc中应以配置路由达到显示指定页的目的。 阅读全文
posted @ 2015-08-25 15:11 IT火 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 大多数集合类都可在system.collections和 system.collections.generic名称空间中找到。 泛型集合类位于system.collections.generic名称空间中:专用于特定类型的集合类位于system.collections.specialized名称空间... 阅读全文
posted @ 2015-08-25 14:09 IT火 阅读(226) 评论(0) 推荐(0) 编辑