
LINQ
codefighting
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
IEnumerable.Select和SelectMany的区别
IEnumerable在Windows Phone 7的程序上很常用,它允许开发人员定义foreach语句功能的实现并支持非泛型方法的简单迭代,下面主要分析一下 IEnumerable.Select和IEnumerable.SelectMany这两个方法的区别。 IEnumer转载 2011-04-05 16:14:00 · 10656 阅读 · 0 评论 -
sql语句-linq语言-lambda表达式对照
1、查询Student表中的所有记录的Sname、Ssex和Class列。 select sname,ssex,class from student Linq: from s in Students select new { s.SNAM原创 2011-02-24 09:56:00 · 1233 阅读 · 0 评论 -
SQL /LINQ/Lamda
SQL LINQ Lambda SELECT * FROM HumanResources.Employee from e in Employees select e Employees .Select (e => e)转载 2011-02-24 09:53:00 · 3355 阅读 · 0 评论 -
LINQ语句中的.AsEnumerable() 和 .AsQueryable()的区别
在写LINQ语句的时候,往往会看到.AsEnumerable() 和 .AsQueryable() 。 例如: string strcon = "Data Source=.\\SQLEXPRESS;Initial Catalog=Db_Example;Persist Security Info=True;User ID=sa;Password=sa"; SqlConnection con =原创 2011-12-07 11:04:51 · 16701 阅读 · 0 评论