Table<TEntity>.IQueryProvider.CreateQuery<TResult> Method (Expression)


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

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

IQueryable<TResult> IQueryProvider.CreateQuery<TElement><TResult>(
	Expression expression


Type: System.Linq.Expressions.Expression

The query expression from which the evaluation is performed.

Return Value

Type: System.Linq.IQueryable<TResult>

An IQueryable<T> that can evaluate the query represented by the specified expression tree.

Type Parameters


The type of the data in the table.

This member is an explicit interface member implementation. It can be used only when the Table<TEntity> instance is cast to an IQueryProvider interface.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top