public DmucLoaithuocCollection FetchByQuery(Query qry) { DmucLoaithuocCollection coll = new DmucLoaithuocCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucLoaithuocCollection FetchAll() { DmucLoaithuocCollection coll = new DmucLoaithuocCollection(); Query qry = new Query(DmucLoaithuoc.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucLoaithuocCollection FetchByID(object IdLoaithuoc) { DmucLoaithuocCollection coll = new DmucLoaithuocCollection().Where("id_loaithuoc", IdLoaithuoc).Load(); return(coll); }