Aracılığıyla paylaş


MutableEntityTypeExtensions.SetDiscriminatorProperty Yöntem

Tanım

IProperty Ayrımcı değeri depolamak için kullanılacak öğesini ayarlar.

public static void SetDiscriminatorProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member SetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
<Extension()>
Public Sub SetDiscriminatorProperty (entityType As IMutableEntityType, property As IProperty)

Parametreler

entityType
IMutableEntityType

Varlık türü.

property
IProperty

Ayarlanacak özellik.

Şunlara uygulanır