次の方法で共有


RelationalTypeBaseExtensions.GetJsonPropertyName(IReadOnlyTypeBase) メソッド

定義

JSON 列にマップされた特定のエンティティに使用される JSON プロパティ名の値を取得します。

public static string? GetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> string
<Extension()>
Public Function GetJsonPropertyName (typeBase As IReadOnlyTypeBase) As String

パラメーター

typeBase
IReadOnlyTypeBase

型。

戻り値

この型の格納に使用される JSON プロパティの値。 null は、JSON 列にマップされていないエンティティに対して返されます。

注釈

明示的に構成しない限り、ナビゲーション名が使用されます。

適用対象