示例#1
0
 public DThietBiCollection FetchAll()
 {
     DThietBiCollection coll = new DThietBiCollection();
     Query qry = new Query(DThietBi.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#2
0
 public DThietBiCollection FetchByQuery(Query qry)
 {
     DThietBiCollection coll = new DThietBiCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
示例#3
0
 public DThietBiCollection FetchByID(object IdThietBi)
 {
     DThietBiCollection coll = new DThietBiCollection().Where("IdThietBi", IdThietBi).Load();
     return coll;
 }