ParameterQueryRootExpression Constructors
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
| Name | Description |
|---|---|
| ParameterQueryRootExpression(Type, QueryParameterExpression) |
Creates a new instance of the ParameterQueryRootExpression class. |
| ParameterQueryRootExpression(Type, ParameterExpression) |
Obsolete.
This constructor has been obsoleted, use the constructor accepting QueryParameterExpression instead. |
| ParameterQueryRootExpression(IAsyncQueryProvider, Type, QueryParameterExpression) |
Creates a new instance of the ParameterQueryRootExpression class. |
| ParameterQueryRootExpression(IAsyncQueryProvider, Type, ParameterExpression) |
Obsolete.
This constructor has been obsoleted, use the constructor accepting QueryParameterExpression instead. |
ParameterQueryRootExpression(Type, QueryParameterExpression)
Creates a new instance of the ParameterQueryRootExpression class.
public ParameterQueryRootExpression(Type elementType, Microsoft.EntityFrameworkCore.Query.QueryParameterExpression queryParameterExpression);
new Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression : Type * Microsoft.EntityFrameworkCore.Query.QueryParameterExpression -> Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression
Public Sub New (elementType As Type, queryParameterExpression As QueryParameterExpression)
Parameters
- elementType
- Type
The values that this query root represents.
- queryParameterExpression
- QueryParameterExpression
The query parameter expression representing the values for this query root.
Applies to
ParameterQueryRootExpression(Type, ParameterExpression)
Caution
Use the constructor accepting QueryParameterExpression instead.
This constructor has been obsoleted, use the constructor accepting QueryParameterExpression instead.
[System.Obsolete("Use the constructor accepting QueryParameterExpression instead.")]
public ParameterQueryRootExpression(Type elementType, System.Linq.Expressions.ParameterExpression parameterExpression);
public ParameterQueryRootExpression(Type elementType, System.Linq.Expressions.ParameterExpression parameterExpression);
[<System.Obsolete("Use the constructor accepting QueryParameterExpression instead.")>]
new Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression : Type * System.Linq.Expressions.ParameterExpression -> Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression
new Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression : Type * System.Linq.Expressions.ParameterExpression -> Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression
Public Sub New (elementType As Type, parameterExpression As ParameterExpression)
Parameters
- elementType
- Type
The values that this query root represents.
- parameterExpression
- ParameterExpression
The parameter expression representing the values for this query root.
- Attributes
Applies to
ParameterQueryRootExpression(IAsyncQueryProvider, Type, QueryParameterExpression)
Creates a new instance of the ParameterQueryRootExpression class.
public ParameterQueryRootExpression(Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider asyncQueryProvider, Type elementType, Microsoft.EntityFrameworkCore.Query.QueryParameterExpression queryParameterExpression);
new Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression : Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider * Type * Microsoft.EntityFrameworkCore.Query.QueryParameterExpression -> Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression
Public Sub New (asyncQueryProvider As IAsyncQueryProvider, elementType As Type, queryParameterExpression As QueryParameterExpression)
Parameters
- asyncQueryProvider
- IAsyncQueryProvider
The query provider associated with this query root.
- elementType
- Type
The values that this query root represents.
- queryParameterExpression
- QueryParameterExpression
The parameter expression representing the values for this query root.
Applies to
ParameterQueryRootExpression(IAsyncQueryProvider, Type, ParameterExpression)
Caution
Use the constructor accepting QueryParameterExpression instead.
This constructor has been obsoleted, use the constructor accepting QueryParameterExpression instead.
[System.Obsolete("Use the constructor accepting QueryParameterExpression instead.")]
public ParameterQueryRootExpression(Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider asyncQueryProvider, Type elementType, System.Linq.Expressions.ParameterExpression parameterExpression);
public ParameterQueryRootExpression(Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider asyncQueryProvider, Type elementType, System.Linq.Expressions.ParameterExpression parameterExpression);
[<System.Obsolete("Use the constructor accepting QueryParameterExpression instead.")>]
new Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression : Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider * Type * System.Linq.Expressions.ParameterExpression -> Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression
new Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression : Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider * Type * System.Linq.Expressions.ParameterExpression -> Microsoft.EntityFrameworkCore.Query.ParameterQueryRootExpression
Public Sub New (asyncQueryProvider As IAsyncQueryProvider, elementType As Type, parameterExpression As ParameterExpression)
Parameters
- asyncQueryProvider
- IAsyncQueryProvider
The query provider associated with this query root.
- elementType
- Type
The values that this query root represents.
- parameterExpression
- ParameterExpression
The parameter expression representing the values for this query root.
- Attributes