Esempio n. 1
0
 public PatientCollection FetchAll()
 {
     var coll = new PatientCollection();
     var qry = new Query(Patient.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Esempio n. 2
0
 public PatientCollection FetchByQuery(Query qry)
 {
     var coll = new PatientCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }