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