EnumerableQuery<T>.IQueryProvider.CreateQuery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IQueryProvider.CreateQuery(Expression) |
This API supports the product infrastructure and is not intended to be used directly from your code. Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable collection of data. |
IQueryProvider.CreateQuery<TElement>(Expression) |
This API supports the product infrastructure and is not intended to be used directly from your code. Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable<T> collection of data. |
IQueryProvider.CreateQuery(Expression)
- Source:
- EnumerableQuery.cs
- Source:
- EnumerableQuery.cs
- Source:
- EnumerableQuery.cs
Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable collection of data.
This API supports the product infrastructure and is not intended to be used directly from your code.
virtual System::Linq::IQueryable ^ System.Linq.IQueryProvider.CreateQuery(System::Linq::Expressions::Expression ^ expression) = System::Linq::IQueryProvider::CreateQuery;
System.Linq.IQueryable IQueryProvider.CreateQuery (System.Linq.Expressions.Expression expression);
abstract member System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable
override this.System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable
Function CreateQuery (expression As Expression) As IQueryable Implements IQueryProvider.CreateQuery
Parameters
- expression
- Expression
An expression tree that represents an IQueryable collection of data.
Returns
An EnumerableQuery<T> object that is associated with expression
.
Implements
Applies to
IQueryProvider.CreateQuery<TElement>(Expression)
- Source:
- EnumerableQuery.cs
- Source:
- EnumerableQuery.cs
- Source:
- EnumerableQuery.cs
Constructs a new EnumerableQuery<T> object and associates it with a specified expression tree that represents an IQueryable<T> collection of data.
This API supports the product infrastructure and is not intended to be used directly from your code.
generic <typename S>
virtual System::Linq::IQueryable<S> ^ System.Linq.IQueryProvider.CreateQuery(System::Linq::Expressions::Expression ^ expression) = System::Linq::IQueryProvider::CreateQuery;
generic <typename TElement>
virtual System::Linq::IQueryable<TElement> ^ System.Linq.IQueryProvider.CreateQuery(System::Linq::Expressions::Expression ^ expression) = System::Linq::IQueryProvider::CreateQuery;
System.Linq.IQueryable<S> IQueryProvider.CreateQuery<S> (System.Linq.Expressions.Expression expression);
System.Linq.IQueryable<TElement> IQueryProvider.CreateQuery<TElement> (System.Linq.Expressions.Expression expression);
abstract member System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'S>
override this.System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'S>
abstract member System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'Element>
override this.System.Linq.IQueryProvider.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'Element>
Function CreateQuery(Of S) (expression As Expression) As IQueryable(Of S) Implements IQueryProvider.CreateQuery
Function CreateQuery(Of TElement) (expression As Expression) As IQueryable(Of TElement) Implements IQueryProvider.CreateQuery
Type Parameters
- S
The type of the data in the collection that expression
represents.
- TElement
The type of the elements of the IQueryable<T> that is returned.
Parameters
- expression
- Expression
An expression tree to execute.
Returns
An EnumerableQuery object that is associated with expression
.