Jazyk

EntityShaperExpression Konstruktory

Definice

Přetížení

EntityShaperExpression(IEntityType, Expression, Boolean)

Zdroj:
EntityShaperExpression.cs
Zdroj:
EntityShaperExpression.cs
Zdroj:
EntityShaperExpression.cs
Zdroj:
EntityShaperExpression.cs
Zdroj:
EntityShaperExpression.cs

Vytvoří novou instanci EntityShaperExpression třídy.

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)

Parametry

entityType
IEntityType

Typ entity, který se má tvarovat.

valueBufferExpression
Expression

Výraz ValueBuffer pro získání hodnot pro vlastnosti entity.

nullable
Boolean

Logická hodnota označující, zda může být tato instance entity null.

Platí pro

EntityShaperExpression(IEntityType, Expression, Boolean, LambdaExpression)

Zdroj:
EntityShaperExpression.cs
Zdroj:
EntityShaperExpression.cs
Zdroj:
EntityShaperExpression.cs

Vytvoří novou instanci EntityShaperExpression třídy.

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)

Parametry

entityType
IEntityType

Typ entity, který se má tvarovat.

valueBufferExpression
Expression

Výraz ValueBuffer pro získání hodnot pro vlastnosti entity.

nullable
Boolean

Určuje, zda může být tato instance entity null.

materializationCondition
LambdaExpression

Výraz určení Func<T,TResult> typu entity, který se má materializovat.

Platí pro