StructuralTypeShaperExpression 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
StructuralTypeShaperExpression(ITypeBase, Expression, Boolean) |
Creates a new instance of the StructuralTypeShaperExpression class. |
StructuralTypeShaperExpression(ITypeBase, Expression, Boolean, LambdaExpression) |
Creates a new instance of the StructuralTypeShaperExpression class. |
StructuralTypeShaperExpression(ITypeBase, Expression, Boolean)
Creates a new instance of the StructuralTypeShaperExpression class.
public StructuralTypeShaperExpression (Microsoft.EntityFrameworkCore.Metadata.ITypeBase type, System.Linq.Expressions.Expression valueBufferExpression, bool nullable);
new Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression
Public Sub New (type As ITypeBase, valueBufferExpression As Expression, nullable As Boolean)
Parameters
- type
- ITypeBase
The entity or complex type to shape.
- valueBufferExpression
- Expression
An expression of ValueBuffer to get values for properties of the type.
- nullable
- Boolean
A bool value indicating whether this instance can be null.
Applies to
StructuralTypeShaperExpression(ITypeBase, Expression, Boolean, LambdaExpression)
Creates a new instance of the StructuralTypeShaperExpression class.
protected StructuralTypeShaperExpression (Microsoft.EntityFrameworkCore.Metadata.ITypeBase type, System.Linq.Expressions.Expression valueBufferExpression, bool nullable, System.Linq.Expressions.LambdaExpression? materializationCondition);
new Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * System.Linq.Expressions.Expression * bool * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression
Protected Sub New (type As ITypeBase, valueBufferExpression As Expression, nullable As Boolean, materializationCondition As LambdaExpression)
Parameters
- type
- ITypeBase
The entity or complex type to shape.
- valueBufferExpression
- Expression
An expression of ValueBuffer to get values for properties of the type.
- nullable
- Boolean
Whether this instance can be null.
- materializationCondition
- LambdaExpression
An expression of Func<T,TResult> to determine which structural type to materialize.
Applies to
Entity Framework