다음을 통해 공유


RelationalEntityTypeExtensions.GetJsonPropertyName 메서드

정의

JSON 열에 매핑된 지정된 엔터티에 사용되는 JSON 속성 이름의 값을 가져옵니다.

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

매개 변수

entityType
IReadOnlyEntityType

엔터티 형식입니다.

반환

이 엔터티 형식을 저장하는 데 사용되는 JSON 속성의 값입니다. null 는 JSON 열에 매핑되지 않은 엔터티에 대해 반환됩니다.

설명

명시적으로 구성하지 않는 한 탐색 이름이 사용됩니다.

적용 대상