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