IQueryProvider Interface

IQueryProvider Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

No code example is currently available or this language may not be supported.

  NameDescription
Public methodCreateQuery(Expression)Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.
Public methodCreateQuery<TElement>(Expression)Constructs an IQueryable<T> object that can evaluate the query represented by a specified expression tree.
Public methodExecute(Expression)Executes the query represented by a specified expression tree.
Public methodExecute<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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft