Linq查询语句
摘要:
LINQ表达式要点:1 linq表达式要以from开头2 必须是select子句或者是group子句结尾3 from子句,where子句,select子句,group子句,into子句,排序子句,let子句,join子句4 子句示例:4.1 from 变量名 in 数据源 where 条件 select 变量名where子句是用来筛选元素select子句是用来输出元素例如:var ordersByCountry=from order in orders where order.ShipCountry.Equels(country) ... 阅读全文
posted @ 2012-10-30 12:57 韦爵爷++ 阅读(326) 评论(0) 推荐(0)
浙公网安备 33010602011771号