摘要: public IQueryable Find(TEntity obj) where TEntity : class { //获得所有property的信息 PropertyInfo[] properties = obj.GetType().GetProperties(BindingFlags.Public | BindingFlag... 阅读全文
posted @ 2008-12-25 15:20 昕友软件开发 阅读(863) 评论(0) 推荐(0) 编辑
摘要: Imports Imports Imports Imports Module Module1 Sub Main() Dim db As New NorthwindDataContext Dim customers = From customer In db.Customers _ Order By c... 阅读全文
posted @ 2008-12-25 15:05 昕友软件开发 阅读(1011) 评论(0) 推荐(0) 编辑
摘要: //C#的例子 using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.U... 阅读全文
posted @ 2008-12-25 14:55 昕友软件开发 阅读(422) 评论(0) 推荐(0) 编辑
摘要: Untitled Page Pick a cateogyr: ... 阅读全文
posted @ 2008-12-25 11:31 昕友软件开发 阅读(580) 评论(0) 推荐(0) 编辑
摘要: private void BindProducts(int startRow) { NorthwindDataContext db = new NorthwindDataContext(); //var ca = from c in db.Categories // where ... 阅读全文
posted @ 2008-12-25 10:20 昕友软件开发 阅读(1181) 评论(0) 推荐(0) 编辑
欢迎访问我的开源项目:xyIM企业即时通讯