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