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