public TblHislisPatientCollection FetchAll() { TblHislisPatientCollection coll = new TblHislisPatientCollection(); Query qry = new Query(TblHislisPatient.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TblHislisPatientCollection FetchByQuery(Query qry) { TblHislisPatientCollection coll = new TblHislisPatientCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TblHislisPatientCollection FetchByID(object Id) { TblHislisPatientCollection coll = new TblHislisPatientCollection().Where("ID", Id).Load(); return coll; }