public AprControlNiñoSanoConsultorioCollection FetchByQuery(Query qry) { AprControlNiñoSanoConsultorioCollection coll = new AprControlNiñoSanoConsultorioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprControlNiñoSanoConsultorioCollection FetchAll() { AprControlNiñoSanoConsultorioCollection coll = new AprControlNiñoSanoConsultorioCollection(); Query qry = new Query(AprControlNiñoSanoConsultorio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprControlNiñoSanoConsultorioCollection FetchByID(object IdControlNiñoSanoConsultorio) { AprControlNiñoSanoConsultorioCollection coll = new AprControlNiñoSanoConsultorioCollection().Where("idControlNiñoSanoConsultorio", IdControlNiñoSanoConsultorio).Load(); return(coll); }