IQueryProvider IQueryProvider IQueryProvider IQueryProvider Interface

Definition

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 on MSDN Blogs.

Methods

CreateQuery(Expression) CreateQuery(Expression) CreateQuery(Expression) CreateQuery(Expression)

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

CreateQuery<TElement>(Expression) CreateQuery<TElement>(Expression) CreateQuery<TElement>(Expression) CreateQuery<TElement>(Expression)

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

Execute(Expression) Execute(Expression) Execute(Expression) Execute(Expression)

Executes the query represented by a specified expression tree.

Execute<TResult>(Expression) Execute<TResult>(Expression) Execute<TResult>(Expression) Execute<TResult>(Expression)

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

Applies to

See Also