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