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