Condividi tramite


SelectExpandQueryOption.ApplyTo Metodo

Definizione

Overload

ApplyTo(IQueryable, ODataQuerySettings)

Applica le opzioni di query $select e $expand all'oggetto specificato IQueryable usando l'oggetto specificato ODataQuerySettings.

ApplyTo(Object, ODataQuerySettings)

Applica le opzioni di query $select e $expand all'entità specificata usando l'oggetto specificato ODataQuerySettings.

ApplyTo(IQueryable, ODataQuerySettings)

Applica le opzioni di query $select e $expand all'oggetto specificato IQueryable usando l'oggetto specificato 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

Parametri

queryable
IQueryable

Oggetto IQueryable originale.

settings
ODataQuerySettings

Oggetto ODataQuerySettings contenente tutte le impostazioni correlate all'applicazione di query.

Restituisce

IQueryable Nuovo oggetto dopo l'applicazione della query di filtro.

Si applica a

ApplyTo(Object, ODataQuerySettings)

Applica le opzioni di query $select e $expand all'entità specificata usando l'oggetto specificato ODataQuerySettings.

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

Parametri

entity
Object

Entità originale.

settings
ODataQuerySettings

Oggetto ODataQuerySettings contenente tutte le impostazioni correlate all'applicazione di query.

Restituisce

La nuova entità dopo l'applicazione della query $select e $expand.

Si applica a