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