Delen via


RelationalStructuralTypeShaperExpression Constructors

Definition

Overloads

RelationalStructuralTypeShaperExpression(ITypeBase, Expression, Boolean)

Creates a new instance of the RelationalStructuralTypeShaperExpression class.

RelationalStructuralTypeShaperExpression(ITypeBase, Expression, Boolean, LambdaExpression)

Creates a new instance of the RelationalStructuralTypeShaperExpression class.

RelationalStructuralTypeShaperExpression(ITypeBase, Expression, Boolean)

Creates a new instance of the RelationalStructuralTypeShaperExpression class.

public RelationalStructuralTypeShaperExpression (Microsoft.EntityFrameworkCore.Metadata.ITypeBase structuralType, System.Linq.Expressions.Expression valueBufferExpression, bool nullable);
new Microsoft.EntityFrameworkCore.Query.RelationalStructuralTypeShaperExpression : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.RelationalStructuralTypeShaperExpression
Public Sub New (structuralType As ITypeBase, valueBufferExpression As Expression, nullable As Boolean)

Parameters

structuralType
ITypeBase

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

RelationalStructuralTypeShaperExpression(ITypeBase, Expression, Boolean, LambdaExpression)

Creates a new instance of the RelationalStructuralTypeShaperExpression class.

protected RelationalStructuralTypeShaperExpression (Microsoft.EntityFrameworkCore.Metadata.ITypeBase type, System.Linq.Expressions.Expression valueBufferExpression, bool nullable, System.Linq.Expressions.LambdaExpression? materializationCondition);
new Microsoft.EntityFrameworkCore.Query.RelationalStructuralTypeShaperExpression : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * System.Linq.Expressions.Expression * bool * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.RelationalStructuralTypeShaperExpression
Protected Sub New (type As ITypeBase, valueBufferExpression As Expression, nullable As Boolean, materializationCondition As LambdaExpression)

Parameters

type
ITypeBase

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