Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IQueryProvider Interface

Definition

Namespace:
System.Linq
Assemblies:
System.Core.dll, System.Linq.Expressions.dll
Assemblies:
netstandard.dll, System.Linq.Expressions.dll
Assembly:
System.Linq.Expressions.dll
Assembly:
System.Core.dll
Assembly:
netstandard.dll
Source:
IQueryable.cs
Source:
IQueryable.cs
Source:
ExpressionVisitor.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines methods to create and execute queries that are described by an IQueryable object.

public interface class IQueryProvider
public interface IQueryProvider
type IQueryProvider = interface
Public Interface IQueryProvider
Derived

Remarks

The IQueryProvider interface is intended for implementation by query providers.

For more information about how to create your own LINQ provider, see LINQ: Building an IQueryable Provider.

Methods

Name Description
CreateQuery(Expression)

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

CreateQuery<TElement>(Expression)

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

Execute(Expression)

Executes the query represented by a specified expression tree.

Execute<TResult>(Expression)

Executes the strongly-typed query represented by a specified expression tree.

Applies to

See also


Feedback

Was this page helpful?