public TDmucKhoCollection FetchAll() { TDmucKhoCollection coll = new TDmucKhoCollection(); Query qry = new Query(TDmucKho.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TDmucKhoCollection FetchByQuery(Query qry) { TDmucKhoCollection coll = new TDmucKhoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TDmucKhoCollection FetchByID(object IdKho) { TDmucKhoCollection coll = new TDmucKhoCollection().Where("id_kho", IdKho).Load(); return coll; }