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); }
public EmrRelTraumaPrehospitalariumCollection FetchByID(object IdRelTraumaPrehospitalaria) { EmrRelTraumaPrehospitalariumCollection coll = new EmrRelTraumaPrehospitalariumCollection().Where("idRelTraumaPrehospitalaria", IdRelTraumaPrehospitalaria).Load(); return(coll); }