다음을 통해 공유


RelationalEntityTypeExtensions.SetJsonPropertyName 메서드

정의

오버로드

SetJsonPropertyName(IMutableEntityType, String)

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

SetJsonPropertyName(IConventionEntityType, String, Boolean)

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

SetJsonPropertyName(IMutableEntityType, String)

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

public static void SetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string? name);
static member SetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> unit
<Extension()>
Public Sub SetJsonPropertyName (entityType As IMutableEntityType, name As String)

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

name
String

사용할 이름입니다.

적용 대상

SetJsonPropertyName(IConventionEntityType, String, Boolean)

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

public static string? SetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string? name, bool fromDataAnnotation = false);
static member SetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string * bool -> string
<Extension()>
Public Function SetJsonPropertyName (entityType As IConventionEntityType, name As String, Optional fromDataAnnotation As Boolean = false) As String

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

name
String

사용할 이름입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

구성된 값입니다.

적용 대상