我要知道博客技术分享
摘要: 如果你熟悉SQL语句,当使用LINQ时,会有似曾相识的感觉.但又略有不同.下面是SQL和LINQ,Lambda语法对照SQLLINQLambdaSELECT *FROM HumanResources.Employeefrom e in Employeesselect eEmployees .Select (e => e)SELECT e.LoginID, e.JobTitleFROM HumanResources.Employee AS efrom e in Employeesselect new {e.LoginID, e.JobTitle}Employees.Select (e =& 阅读全文
posted @ 2013-11-06 12:15 mylove温纯 阅读(254) 评论(0) 推荐(0) 编辑
我要知道 Copyright ©2011-2015 mylove温纯