public EmrGlasgowOcularCollection FetchByQuery(Query qry) { EmrGlasgowOcularCollection coll = new EmrGlasgowOcularCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public EmrGlasgowOcularCollection FetchAll() { EmrGlasgowOcularCollection coll = new EmrGlasgowOcularCollection(); Query qry = new Query(EmrGlasgowOcular.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public EmrGlasgowOcularCollection FetchByID(object IdGlasgowOcular) { EmrGlasgowOcularCollection coll = new EmrGlasgowOcularCollection().Where("idGlasgowOcular", IdGlasgowOcular).Load(); return(coll); }