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