public RisEntidadCollection FetchByQuery(Query qry) { RisEntidadCollection coll = new RisEntidadCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisEntidadCollection FetchAll() { RisEntidadCollection coll = new RisEntidadCollection(); Query qry = new Query(RisEntidad.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisEntidadCollection FetchByID(object IdEntidad) { RisEntidadCollection coll = new RisEntidadCollection().Where("idEntidad", IdEntidad).Load(); return(coll); }