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