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