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