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); }
public AprControlNiñoSanoCollection FetchByID(object IdControlNiñoSano) { AprControlNiñoSanoCollection coll = new AprControlNiñoSanoCollection().Where("idControlNiñoSano", IdControlNiñoSano).Load(); return(coll); }