public AprControlNiñoSanoCollection FetchByQuery(Query qry) { AprControlNiñoSanoCollection coll = new AprControlNiñoSanoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprControlNiñoSanoCollection FetchAll() { AprControlNiñoSanoCollection coll = new AprControlNiñoSanoCollection(); Query qry = new Query(AprControlNiñoSano.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }