public BdsAdmisionCollection FetchByQuery(Query qry) { BdsAdmisionCollection coll = new BdsAdmisionCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public BdsAdmisionCollection FetchAll() { BdsAdmisionCollection coll = new BdsAdmisionCollection(); Query qry = new Query(BdsAdmision.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public BdsAdmisionCollection FetchByID(object IdAdmision) { BdsAdmisionCollection coll = new BdsAdmisionCollection().Where("idAdmision", IdAdmision).Load(); return(coll); }