Share via


RelationalEntityTypeAnnotations.SetDiscriminatorProperty メソッド

定義

オーバーロード

SetDiscriminatorProperty(IProperty)

使用中の の DiscriminatorProperty セマンティクスを使用して を RelationalAnnotations 設定しようとします。

SetDiscriminatorProperty(IProperty, Type)

使用中の の DiscriminatorProperty セマンティクスを使用して を RelationalAnnotations 設定しようとします。

SetDiscriminatorProperty(IProperty)

使用中の の DiscriminatorProperty セマンティクスを使用して を 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

パラメーター

value
IProperty

設定する値。

戻り値

True 注釈が設定されている場合は 。 false それ以外の場合は 。

適用対象

SetDiscriminatorProperty(IProperty, Type)

使用中の の DiscriminatorProperty セマンティクスを使用して を 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

パラメーター

value
IProperty

設定する値。

oldDiscriminatorType
Type

以前に識別子の値に使用されていた型。

戻り値

True 注釈が設定されている場合は 。 false それ以外の場合は 。

適用対象