次の方法で共有


SqlServerEntityTypeExtensions.SetPeriodEndPropertyName メソッド

定義

オーバーロード

SetPeriodEndPropertyName(IMutableEntityType, String)

テンポラル テーブルにマップされるエンティティのピリオド終了プロパティの名前を表す値を設定します。

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

テンポラル テーブルにマップされるエンティティのピリオド終了プロパティの名前を表す値を設定します。

SetPeriodEndPropertyName(IMutableEntityType, String)

テンポラル テーブルにマップされるエンティティのピリオド終了プロパティの名前を表す値を設定します。

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)

テンポラル テーブルにマップされるエンティティのピリオド終了プロパティの名前を表す値を設定します。

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

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成された値です。

適用対象