摘要: 前言 本次主要来学习并记录一下Linq基本的查询语法。In 操作查询指定城市中的客户var in操作 = from c in ctx.Customers where new string[] { "Brandenburg", "Cowes", "Stavern" }.Contains(c.City) select c;对应SQL语句select * from Customers where City in('Brandenburg', 'Cowes', 'Stavern')查询结果 Jo 阅读全文
posted @ 2013-04-13 23:07 aehyok 阅读(928) 评论(0) 推荐(0) 编辑