public AprRelControNiñoSanoFactorProtectorCollection FetchByQuery(Query qry) { AprRelControNiñoSanoFactorProtectorCollection coll = new AprRelControNiñoSanoFactorProtectorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprRelControNiñoSanoFactorProtectorCollection FetchAll() { AprRelControNiñoSanoFactorProtectorCollection coll = new AprRelControNiñoSanoFactorProtectorCollection(); Query qry = new Query(AprRelControNiñoSanoFactorProtector.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }