public LabAlarmaScreeningCollection FetchByQuery(Query qry) { LabAlarmaScreeningCollection coll = new LabAlarmaScreeningCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LabAlarmaScreeningCollection FetchAll() { LabAlarmaScreeningCollection coll = new LabAlarmaScreeningCollection(); Query qry = new Query(LabAlarmaScreening.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LabAlarmaScreeningCollection FetchByID(object IdAlarmaScreening) { LabAlarmaScreeningCollection coll = new LabAlarmaScreeningCollection().Where("idAlarmaScreening", IdAlarmaScreening).Load(); return(coll); }