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