public LPatientInfoCollection FetchAll() { LPatientInfoCollection coll = new LPatientInfoCollection(); Query qry = new Query(LPatientInfo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public LPatientInfoCollection FetchByQuery(Query qry) { LPatientInfoCollection coll = new LPatientInfoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public LPatientInfoCollection FetchByID(object PatientId) { LPatientInfoCollection coll = new LPatientInfoCollection().Where("Patient_ID", PatientId).Load(); return coll; }