다음을 통해 공유


SqlServerEntityTypeExtensions.SetPeriodStartPropertyName 메서드

정의

오버로드

SetPeriodStartPropertyName(IMutableEntityType, String)

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

SetPeriodStartPropertyName(IConventionEntityType, String, Boolean)

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

SetPeriodStartPropertyName(IMutableEntityType, String)

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

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

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

periodStartPropertyName
String

설정할 값입니다.

적용 대상

SetPeriodStartPropertyName(IConventionEntityType, String, Boolean)

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

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

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

periodStartPropertyName
String

설정할 값입니다.

fromDataAnnotation
Boolean

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

반환

구성된 값입니다.

적용 대상