public DanHMucCollection FetchByQuery(Query qry) { DanHMucCollection coll = new DanHMucCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DanHMucCollection FetchAll() { DanHMucCollection coll = new DanHMucCollection(); Query qry = new Query(DanHMuc.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DanHMucCollection FetchByID(object MaDM) { DanHMucCollection coll = new DanHMucCollection().Where("MaDM", MaDM).Load(); return(coll); }