SelectExpandQueryOption.ApplyTo Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
ApplyTo(IQueryable, ODataQuerySettings) |
Použije na danou IQueryable $select a $expand možnosti dotazu pomocí daného ODataQuerySettings. |
ApplyTo(Object, ODataQuerySettings) |
Použije $select a $expand možnosti dotazu na danou entitu pomocí dané ODataQuerySettingsentity . |
ApplyTo(IQueryable, ODataQuerySettings)
Použije na danou IQueryable $select a $expand možnosti dotazu pomocí daného ODataQuerySettings.
public System.Linq.IQueryable ApplyTo (System.Linq.IQueryable queryable, Microsoft.AspNet.OData.Query.ODataQuerySettings settings);
member this.ApplyTo : System.Linq.IQueryable * Microsoft.AspNet.OData.Query.ODataQuerySettings -> System.Linq.IQueryable
Public Function ApplyTo (queryable As IQueryable, settings As ODataQuerySettings) As IQueryable
Parametry
- queryable
- IQueryable
Původní IQueryable.
- settings
- ODataQuerySettings
Obsahuje ODataQuerySettings všechna nastavení související s aplikací dotazu.
Návraty
Nový IQueryable po použití dotazu filtru na
Platí pro
ApplyTo(Object, ODataQuerySettings)
Použije $select a $expand možnosti dotazu na danou entitu pomocí dané ODataQuerySettingsentity .
public object ApplyTo (object entity, Microsoft.AspNet.OData.Query.ODataQuerySettings settings);
member this.ApplyTo : obj * Microsoft.AspNet.OData.Query.ODataQuerySettings -> obj
Public Function ApplyTo (entity As Object, settings As ODataQuerySettings) As Object
Parametry
- entity
- Object
Původní entita.
- settings
- ODataQuerySettings
Obsahuje ODataQuerySettings všechna nastavení související s aplikací dotazu.
Návraty
Nová entita po $select a $expand dotazu.