Class ODataQueryable<TEntity>
Represents a queryable OData entity set that can be composed using LINQ.
public sealed class ODataQueryable<TEntity> : IOrderedQueryable<TEntity>, IOrderedQueryable, IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable
Type Parameters
TEntityType of the entity described by the query.
- Inheritance
-
ODataQueryable<TEntity>
- Implements
-
IOrderedQueryable<TEntity>IQueryable<TEntity>IEnumerable<TEntity>
- Inherited Members
- Extension Methods
Properties
ElementType
Gets the type of the elements returned by the query.
public Type ElementType { get; }
Property Value
EntitySetName
Gets the name of the entity set targeted by the query.
public string EntitySetName { get; }
Property Value
Expression
Gets the expression tree associated with the query.
public Expression Expression { get; }
Property Value
Provider
Gets the query provider used to translate the query.
public IQueryProvider Provider { get; }
Property Value
Methods
GetEnumerator()
Returns an enumerator over the query results. Execution is not supported yet and the method throws an exception.
public IEnumerator<TEntity> GetEnumerator()
Returns
- IEnumerator<TEntity>
This method does not return and always throws.
Exceptions
- NotSupportedException
Thrown whenever enumeration is attempted.