Export (0) Print
Expand All

IQueryProvider Interface

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

Namespace:  System.Linq
Assemblies:   System.Linq.Expressions (in System.Linq.Expressions.dll)
  System.Core (in System.Core.dll)

public interface IQueryProvider

  NameDescription
Public methodSupported by Portable Class LibraryCreateQuery(Expression)Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.
Public methodSupported by Portable Class LibraryCreateQuery<TElement>(Expression)Constructs an IQueryable<T> object that can evaluate the query represented by a specified expression tree.
Public methodSupported by Portable Class LibraryExecute(Expression)Executes the query represented by a specified expression tree.
Public methodSupported by Portable Class LibraryExecute<TResult>(Expression)Executes the strongly-typed query represented by a specified expression tree.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft