ETag<TEntity>.ApplyTo Method
Namespace: System.Web.Http.OData.Formatter
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
ApplyTo(IQueryable) | (Overrides ETag.ApplyTo(IQueryable).) |
|
ApplyTo(IQueryable<TEntity>) | Apply the ETag to the given IQueryable<T>. |
See Also
ETag<TEntity> Class
System.Web.Http.OData.Formatter Namespace
Return to top
ETag<TEntity>.ApplyTo Method (IQueryable)
Syntax
public override IQueryable ApplyTo(
IQueryable query
)
public:
virtual IQueryable^ ApplyTo(
IQueryable^ query
) override
override ApplyTo :
query:IQueryable -> IQueryable
Public Overrides Function ApplyTo (
query As IQueryable
) As IQueryable
Return Value
Type: System.Linq.IQueryable
Return to top
ETag<TEntity>.ApplyTo Method (IQueryable<TEntity>)
Apply the ETag to the given IQueryable<T>.
Syntax
public IQueryable<TEntity> ApplyTo(
IQueryable<TEntity> query
)
public:
IQueryable<TEntity>^ ApplyTo(
IQueryable<TEntity>^ query
)
member ApplyTo :
query:IQueryable<'TEntity> -> IQueryable<'TEntity>
Public Function ApplyTo (
query As IQueryable(Of TEntity)
) As IQueryable(Of TEntity)
Parameters
query
Type: System.Linq.IQueryable<TEntity>The original IQueryable<T>.
Return Value
Type: System.Linq.IQueryable<TEntity>
The new IQueryable<T> after the ETag has been applied.
Return to top