Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

'Declaration
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(Of TElement)(Expression)Constructs an IQueryable(Of 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(Of 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

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft