public DmucDichvuclCollection FetchByQuery(Query qry) { DmucDichvuclCollection coll = new DmucDichvuclCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucDichvuclCollection FetchAll() { DmucDichvuclCollection coll = new DmucDichvuclCollection(); Query qry = new Query(DmucDichvucl.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }