Language

RelationalComplexPropertyExtensions.GetJsonPropertyName メソッド

定義

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

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

パラメーター

complexProperty
IReadOnlyComplexProperty

複合プロパティ。

戻り値

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

注釈

明示的に構成しない限り、複合プロパティ名が使用されます。

適用対象