博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2007年7月29日

摘要: Select操作最简单的 1, var q = from c in db.Customers select c.ContactName; 匿名类的 1, var q = from c in db.Customers select new... 阅读全文

posted @ 2007-07-29 20:43 吴博 阅读(215) 评论(0) 推荐(0)

摘要: property创建对象------------------------------------------------------------------------c# 3.0可以支持根据property来创建对象。比如,有类 public class Person { private string name; public string Name ... 阅读全文

posted @ 2007-07-29 19:36 吴博 阅读(133) 评论(0) 推荐(0)