Table of Contents

Class ODataQueryable<TEntity>

Namespace
Utils.OData.Linq
Assembly
Utils.OData.dll

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

TEntity

Type of the entity described by the query.

Inheritance
ODataQueryable<TEntity>
Implements
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

Type

EntitySetName

Gets the name of the entity set targeted by the query.

public string EntitySetName { get; }

Property Value

string

Expression

Gets the expression tree associated with the query.

public Expression Expression { get; }

Property Value

Expression

Provider

Gets the query provider used to translate the query.

public IQueryProvider Provider { get; }

Property Value

IQueryProvider

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.