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