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