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