RelationalEntityShaperExpression.GenerateMaterializationCondition(IEntityType, Boolean) Yöntem

Tanım

Hangi varlık türünün Func<T,TResult> geçerli olduğunu belirlemek için bir ifadesi oluşturur.

protected override System.Linq.Expressions.LambdaExpression GenerateMaterializationCondition (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, bool nullable);
override this.GenerateMaterializationCondition : Microsoft.EntityFrameworkCore.Metadata.IEntityType * bool -> System.Linq.Expressions.LambdaExpression
Protected Overrides Function GenerateMaterializationCondition (entityType As IEntityType, nullable As Boolean) As LambdaExpression

Parametreler

entityType
IEntityType

Gerçekleşme koşulu oluşturmak için varlık türü.

nullable
Boolean

Bu varlık örneğinin null olup olmadığı.

Döndürülenler

LambdaExpression

Varlık türü Func<T,TResult> için çiftleştirme koşullarını temsil eden bir ifade.

Şunlara uygulanır