Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IQueryProvider Interface

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

Namespace:  System.Linq
Assembly:  System.Core (in System.Core.dll)

'Declaration
Public Interface IQueryProvider

  NameDescription
Public methodSupported by Silverlight for Windows PhoneCreateQuery(Expression)Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.
Public methodSupported by Silverlight for Windows PhoneCreateQuery(Of TElement)(Expression)Constructs an IQueryable(Of T) object that can evaluate the query represented by a specified expression tree.
Public methodSupported by Silverlight for Windows PhoneExecute(Expression)Executes the query represented by a specified expression tree.
Public methodSupported by Silverlight for Windows PhoneExecute(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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2017 Microsoft