随笔分类 -  50.LINQ

摘要:var customers = BuildCustomers();var results = from c in customers from o in c.Orders where c.FirstName.Length >=5 && o.Product == "Milk" group by c into avg select new { avg.Key.Firs... 阅读全文
posted @ 2010-12-09 14:56 庚武 阅读(324) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2010-12-09 14:38 庚武 阅读(5) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2010-11-21 22:20 庚武 阅读(7) 评论(0) 推荐(0)
摘要:用sql profiler 监视运行的sql语句如下: 阅读全文
posted @ 2010-10-13 15:01 庚武 阅读(1253) 评论(0) 推荐(0)
摘要:static void Main() { string strcon = global::TestLinqToSQL.Properties.Settings.Default.testConnectionString; SqlConnection conn = new SqlConnection(strcon); ... 阅读全文
posted @ 2010-10-13 14:06 庚武 阅读(3873) 评论(1) 推荐(0)
摘要:Microsoft is touting LINQ as a ‘‘groundbreaking innovation’’ that promises to ‘‘revolutionize the waydevelopers work with data.’’ Like you, I was somewh... 阅读全文
posted @ 2010-10-07 17:28 庚武 阅读(238) 评论(0) 推荐(0)