EntityShaperExpression 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
EntityShaperExpression(IEntityType, Expression, Boolean) |
Creates a new instance of the EntityShaperExpression class. |
EntityShaperExpression(IEntityType, Expression, Boolean, LambdaExpression) |
Creates a new instance of the EntityShaperExpression class. |
EntityShaperExpression(IEntityType, Expression, Boolean)
Creates a new instance of the EntityShaperExpression class.
public EntityShaperExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Linq.Expressions.Expression valueBufferExpression, bool nullable);
new Microsoft.EntityFrameworkCore.Query.EntityShaperExpression : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
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
EntityShaperExpression(IEntityType, Expression, Boolean, LambdaExpression)
Creates a new instance of the EntityShaperExpression class.
protected EntityShaperExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Linq.Expressions.Expression valueBufferExpression, bool nullable, System.Linq.Expressions.LambdaExpression materializationCondition);
protected EntityShaperExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Linq.Expressions.Expression valueBufferExpression, bool nullable, System.Linq.Expressions.LambdaExpression? materializationCondition);
new Microsoft.EntityFrameworkCore.Query.EntityShaperExpression : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Linq.Expressions.Expression * bool * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
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