EnumerableQuery<T>.IQueryProvider.CreateQuery Method

Definition

Overloads

IQueryProvider.CreateQuery(Expression)

This API supports the product infrastructure and is not intended to be used directly from your code.

Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable collection of data.

IQueryProvider.CreateQuery<TElement>(Expression)

This API supports the product infrastructure and is not intended to be used directly from your code.

Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable<T> collection of data.

IQueryProvider.CreateQuery(Expression)

Source:
EnumerableQuery.cs
Source:
EnumerableQuery.cs
Source:
EnumerableQuery.cs

Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable collection of data.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
System.Linq.IQueryable IQueryProvider.CreateQuery(System.Linq.Expressions.Expression expression);

Parameters

expression
Expression

An expression tree that represents an IQueryable collection of data.

Returns

An EnumerableQuery<T> object that is associated with expression.

Implements

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

IQueryProvider.CreateQuery<TElement>(Expression)

Source:
EnumerableQuery.cs
Source:
EnumerableQuery.cs
Source:
EnumerableQuery.cs

Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable<T> collection of data.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
System.Linq.IQueryable<S> IQueryProvider.CreateQuery<S>(System.Linq.Expressions.Expression expression);
C#
System.Linq.IQueryable<TElement> IQueryProvider.CreateQuery<TElement>(System.Linq.Expressions.Expression expression);

Type Parameters

S

The type of the data in the collection that expression represents.

TElement

The type of the elements of the IQueryable<T> that is returned.

Parameters

expression
Expression

An expression tree to execute.

Returns

IQueryable<TElement>

An EnumerableQuery object that is associated with expression.

Implements

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0