RelationalEntityTypeAnnotations.SetDiscriminatorProperty Yöntem

Tanım

Aşırı Yüklemeler

SetDiscriminatorProperty(IProperty)

Kullanımdaki DiscriminatorProperty öğesinin semantiğini kullanarak ayarlamaya çalışır RelationalAnnotations .

SetDiscriminatorProperty(IProperty, Type)

Kullanımdaki DiscriminatorProperty öğesinin semantiğini kullanarak ayarlamaya çalışır RelationalAnnotations .

SetDiscriminatorProperty(IProperty)

Kullanımdaki DiscriminatorProperty öğesinin semantiğini kullanarak ayarlamaya çalışır RelationalAnnotations .

protected virtual bool SetDiscriminatorProperty (Microsoft.EntityFrameworkCore.Metadata.IProperty value);
abstract member SetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
override this.SetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
Protected Overridable Function SetDiscriminatorProperty (value As IProperty) As Boolean

Parametreler

value
IProperty

Ayarlanacak değer.

Döndürülenler

Boolean

Ek açıklama ayarlandıysa doğru ; Aksi takdirde false .

Şunlara uygulanır

SetDiscriminatorProperty(IProperty, Type)

Kullanımdaki DiscriminatorProperty öğesinin semantiğini kullanarak ayarlamaya çalışır RelationalAnnotations .

protected virtual bool SetDiscriminatorProperty (Microsoft.EntityFrameworkCore.Metadata.IProperty value, Type oldDiscriminatorType);
abstract member SetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Type -> bool
override this.SetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Type -> bool
Protected Overridable Function SetDiscriminatorProperty (value As IProperty, oldDiscriminatorType As Type) As Boolean

Parametreler

value
IProperty

Ayarlanacak değer.

oldDiscriminatorType
Type

Daha önce ayrıştırıcı değerleri için kullanılan tür.

Döndürülenler

Boolean

Ek açıklama ayarlandıysa doğru ; Aksi takdirde false .

Şunlara uygulanır