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