标签: subsonic
什么更好?
使用:
GridView.DataSource = ObjectFromDB.All()。Where(a => a.ID == null);
或者:
GridView.DataSource = ObjectFromDB.Find(a => a.ID == null);