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