摘要:
最近在codeplex上找到了一个功能比较全的linq to object 、linq to sql 、linq to entity新增、修改、删除功能扩展的控件——magiq。 以linq to sql 为例,var expiredProducts = store.Query(x => x.Products.Where(y => y.ExpirationDate <= DateTime.Now )).ToList();//store为相当于数据库一对多的父项,Products相当于子项products.Where( x=> x.ExpirationDate <= 阅读全文
posted @ 2011-08-06 18:59
xiaot_zh
阅读(2072)
评论(5)
推荐(1)