public RisEstudioEntidadCollection FetchByQuery(Query qry) { RisEstudioEntidadCollection coll = new RisEstudioEntidadCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisEstudioEntidadCollection FetchAll() { RisEstudioEntidadCollection coll = new RisEstudioEntidadCollection(); Query qry = new Query(RisEstudioEntidad.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisEstudioEntidadCollection FetchByID(object IdEstudioEntidad) { RisEstudioEntidadCollection coll = new RisEstudioEntidadCollection().Where("idEstudioEntidad", IdEstudioEntidad).Load(); return(coll); }