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