다음을 통해 공유


SqlServerEntityTypeExtensions.SetPeriodEndPropertyName 메서드

정의

오버로드

SetPeriodEndPropertyName(IMutableEntityType, String)

temporal 테이블에 매핑된 엔터티의 마침표 끝 속성 이름을 나타내는 값을 설정합니다.

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

temporal 테이블에 매핑된 엔터티의 마침표 끝 속성 이름을 나타내는 값을 설정합니다.

SetPeriodEndPropertyName(IMutableEntityType, String)

temporal 테이블에 매핑된 엔터티의 마침표 끝 속성 이름을 나타내는 값을 설정합니다.

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

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

periodEndPropertyName
String

설정할 값입니다.

적용 대상

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

temporal 테이블에 매핑된 엔터티의 마침표 끝 속성 이름을 나타내는 값을 설정합니다.

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

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

periodEndPropertyName
String

설정할 값입니다.

fromDataAnnotation
Boolean

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

반환

구성된 값입니다.

적용 대상