public AprRelControlNiñoSanoFactorRiesgoCollection FetchByQuery(Query qry) { AprRelControlNiñoSanoFactorRiesgoCollection coll = new AprRelControlNiñoSanoFactorRiesgoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprRelControlNiñoSanoFactorRiesgoCollection FetchAll() { AprRelControlNiñoSanoFactorRiesgoCollection coll = new AprRelControlNiñoSanoFactorRiesgoCollection(); Query qry = new Query(AprRelControlNiñoSanoFactorRiesgo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprRelControlNiñoSanoFactorRiesgoCollection FetchByID(object IdRelacion) { AprRelControlNiñoSanoFactorRiesgoCollection coll = new AprRelControlNiñoSanoFactorRiesgoCollection().Where("idRelacion", IdRelacion).Load(); return(coll); }