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