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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public interface IQueryProvider

NameDescription
System_CAPS_pubmethodCreateQuery(Expression)

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

System_CAPS_pubmethodCreateQuery<TElement>(Expression)

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

System_CAPS_pubmethodExecute(Expression)

Executes the query represented by a specified expression tree.

System_CAPS_pubmethodExecute<TResult>(Expression)

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

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top
Show:
© 2018 Microsoft