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); }
public AprControlNiñoSanoOdontologicoCollection FetchByID(object IdControlOdontologico) { AprControlNiñoSanoOdontologicoCollection coll = new AprControlNiñoSanoOdontologicoCollection().Where("idControlOdontologico", IdControlOdontologico).Load(); return(coll); }