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