EnumerableQuery<T>.IQueryProvider.Execute Method

Definition

Overloads

IQueryProvider.Execute(Expression)

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

Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

IQueryProvider.Execute<TElement>(Expression)

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

Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

IQueryProvider.Execute(Expression)

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

Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

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

C#
object IQueryProvider.Execute(System.Linq.Expressions.Expression expression);

Parameters

expression
Expression

An expression tree to execute.

Returns

The value that results from executing 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.Execute<TElement>(Expression)

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

Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

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

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

Type Parameters

S

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

TElement

Parameters

expression
Expression

An expression tree to execute.

Returns

TElement

The value that results from executing 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