SelectExpandQueryOption.ApplyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ApplyTo(IQueryable, ODataQuerySettings) |
Applies the $select and $expand query options to the given IQueryable using the given ODataQuerySettings. |
ApplyTo(Object, ODataQuerySettings) |
Applies the $select and $expand query options to the given entity using the given ODataQuerySettings. |
ApplyTo(IQueryable, ODataQuerySettings)
Applies the $select and $expand query options to the given IQueryable using the given 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
Parameters
- queryable
- IQueryable
The original IQueryable.
- settings
- ODataQuerySettings
The ODataQuerySettings that contains all the query application related settings.
Returns
The new IQueryable after the filter query has been applied to.
Applies to
ApplyTo(Object, ODataQuerySettings)
Applies the $select and $expand query options to the given entity using the given 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
Parameters
- entity
- Object
The original entity.
- settings
- ODataQuerySettings
The ODataQuerySettings that contains all the query application related settings.
Returns
The new entity after the $select and $expand query has been applied to.