Edit

Share via


Table<TEntity>.IQueryProvider.CreateQuery Method

Definition

Overloads

IQueryProvider.CreateQuery(Expression)

Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.

IQueryProvider.CreateQuery<TResult>(Expression)

Constructs an IQueryable<T> object that can evaluate the query represented by a specified expression tree.

IQueryProvider.CreateQuery(Expression)

Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.

 virtual System::Linq::IQueryable ^ System.Linq.IQueryProvider.CreateQuery(System::Linq::Expressions::Expression ^ expression) = System::Linq::IQueryProvider::CreateQuery;
System.Linq.IQueryable IQueryProvider.CreateQuery (System.Linq.Expressions.Expression expression);
abstract member System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable
override this.System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable
Function CreateQuery (expression As Expression) As IQueryable Implements IQueryProvider.CreateQuery

Parameters

expression
Expression

The query expression from which the evaluation is performed.

Returns

An IQueryable that can evaluate the query represented by the specified expression tree.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Table<TEntity> instance is cast to an IQueryProvider interface.

Applies to

IQueryProvider.CreateQuery<TResult>(Expression)

Constructs an IQueryable<T> object that can evaluate the query represented by a specified expression tree.

generic <typename TResult>
 virtual System::Linq::IQueryable<TResult> ^ System.Linq.IQueryProvider.CreateQuery(System::Linq::Expressions::Expression ^ expression) = System::Linq::IQueryProvider::CreateQuery;
System.Linq.IQueryable<TResult> IQueryProvider.CreateQuery<TResult> (System.Linq.Expressions.Expression expression);
abstract member System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'Result>
override this.System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'Result>
Function CreateQuery(Of TResult) (expression As Expression) As IQueryable(Of TResult) Implements IQueryProvider.CreateQuery

Type Parameters

TResult

The type of the data in the table.

Parameters

expression
Expression

The query expression from which the evaluation is performed.

Returns

IQueryable<TResult>

An IQueryable<T> that can evaluate the query represented by the specified expression tree.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Table<TEntity> instance is cast to an IQueryProvider interface.

Applies to