次の方法で共有


EntityTypeExtensions.GetDiscriminatorProperty(IEntityType) メソッド

定義

注意事項

Use IReadOnlyEntityType.FindDiscriminatorProperty

識別子の値を IReadOnlyProperty 格納するために使用される を返します。

public static Microsoft.EntityFrameworkCore.Metadata.IProperty GetDiscriminatorProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use IReadOnlyEntityType.FindDiscriminatorProperty")]
public static Microsoft.EntityFrameworkCore.Metadata.IProperty? GetDiscriminatorProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IProperty
[<System.Obsolete("Use IReadOnlyEntityType.FindDiscriminatorProperty")>]
static member GetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function GetDiscriminatorProperty (entityType As IEntityType) As IProperty

パラメーター

entityType
IEntityType

エンティティの型。

戻り値

属性

適用対象