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