IQueryProvider Interface

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)

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 4.5
.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:
© 2016 Microsoft