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