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