Table<TEntity>::IQueryProvider::CreateQuery<TResult> Method (Expression^)
.NET Framework (current version)
Constructs an IQueryable<T> object that can evaluate the query represented by a specified expression tree.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
private: generic<typename TResult> virtual IQueryable<TResult>^ CreateQuery( Expression^ expression ) sealed = IQueryProvider::CreateQuery<TElement>
Parameters
- 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
- TResult
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
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show: