![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LINQ
codefighting
这个作者很懒,什么都没留下…
展开
-
IEnumerable.Select和SelectMany的区别
IEnumerable在Windows Phone 7的程序上很常用,它允许开发人员定义foreach语句功能的实现并支持非泛型方法的简单迭代,下面主要分析一下 IEnumerable.Select和IEnumerable.SelectMany这两个方法的区别。IEnumer转载 2011-04-05 16:14:00 · 10561 阅读 · 0 评论 -
sql语句-linq语言-lambda表达式对照
1、查询Student表中的所有记录的Sname、Ssex和Class列。select sname,ssex,class from studentLinq: from s in Students select new { s.SNAM原创 2011-02-24 09:56:00 · 1204 阅读 · 0 评论 -
SQL /LINQ/Lamda
SQLLINQLambdaSELECT *FROM HumanResources.Employeefrom e in Employeesselect eEmployees .Select (e => e)转载 2011-02-24 09:53:00 · 3309 阅读 · 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 · 16578 阅读 · 0 评论