Esempio n. 1
0
 public DmChiDinhCollection FetchAll()
 {
     DmChiDinhCollection coll = new DmChiDinhCollection();
     Query qry = new Query(DmChiDinh.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Esempio n. 2
0
 public DmChiDinhCollection FetchByQuery(Query qry)
 {
     DmChiDinhCollection coll = new DmChiDinhCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Esempio n. 3
0
 public DmChiDinhCollection FetchByID(object IdChiDinh)
 {
     DmChiDinhCollection coll = new DmChiDinhCollection().Where("Id_Chi_Dinh", IdChiDinh).Load();
     return coll;
 }