DataServiceQueryProvider.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
CreateQuery(Expression) |
Factory method for creating DataServiceOrderedQuery based on expression |
CreateQuery<TElement>(Expression) |
Factory method for creating DataServiceOrderedQuery based on expression |
CreateQuery(Expression)
Factory method for creating DataServiceOrderedQuery based on expression
public System.Linq.IQueryable CreateQuery (System.Linq.Expressions.Expression expression);
abstract member CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable
override this.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable
Public Function CreateQuery (expression As Expression) As IQueryable
Parameters
- expression
- Expression
The expression for the new query
Returns
new DataServiceQuery
Implements
Applies to
CreateQuery<TElement>(Expression)
Factory method for creating DataServiceOrderedQuery based on expression
public System.Linq.IQueryable<TElement> CreateQuery<TElement> (System.Linq.Expressions.Expression expression);
abstract member CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'Element>
override this.CreateQuery : System.Linq.Expressions.Expression -> System.Linq.IQueryable<'Element>
Public Function CreateQuery(Of TElement) (expression As Expression) As IQueryable(Of TElement)
Type Parameters
- TElement
generic type
Parameters
- expression
- Expression
The expression for the new query
Returns
new DataServiceQuery