Bagikan melalui


EntityShaperExpression Konstruktor

Definisi

Overload

EntityShaperExpression(IEntityType, Expression, Boolean)

Membuat instans EntityShaperExpression baru kelas .

EntityShaperExpression(IEntityType, Expression, Boolean, LambdaExpression)

Membuat instans EntityShaperExpression baru kelas .

EntityShaperExpression(IEntityType, Expression, Boolean)

Membuat instans EntityShaperExpression baru kelas .

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)

Parameter

entityType
IEntityType

Jenis entitas ke bentuk.

valueBufferExpression
Expression

Ekspresi ValueBuffer untuk mendapatkan nilai untuk properti entitas.

nullable
Boolean

Nilai bool yang menunjukkan apakah instans entitas ini dapat null.

Berlaku untuk

EntityShaperExpression(IEntityType, Expression, Boolean, LambdaExpression)

Membuat instans EntityShaperExpression baru kelas .

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)

Parameter

entityType
IEntityType

Jenis entitas ke bentuk.

valueBufferExpression
Expression

Ekspresi ValueBuffer untuk mendapatkan nilai untuk properti entitas.

nullable
Boolean

Apakah instans entitas ini bisa null.

materializationCondition
LambdaExpression

Ekspresi Func<T,TResult> untuk menentukan jenis entitas mana yang akan diwujudkan.

Berlaku untuk