摘要: 1. 常用查询:var q = from c in db.Customers where c.City == "London" select c.ContactName;注: select 一定要放在后面db.Customers 是数据源c 是Customers 数组中的一个where 条件语句select 返回内容, 例如: select c.ContactName 表示返回... 阅读全文
posted @ 2011-09-16 11:36 hen 阅读(2586) 评论(2) 推荐(3) 编辑