次の方法で共有


SqlServerEntityTypeExtensions.SetHistoryTableSchema メソッド

定義

オーバーロード

SetHistoryTableSchema(IMutableEntityType, String)

テンポラル テーブルにマップされたエンティティに関連付けられている履歴テーブルのスキーマを表す値を設定します。

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

テンポラル テーブルにマップされたエンティティに関連付けられている履歴テーブルのスキーマを表す値を設定します。

SetHistoryTableSchema(IMutableEntityType, String)

テンポラル テーブルにマップされたエンティティに関連付けられている履歴テーブルのスキーマを表す値を設定します。

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

パラメーター

entityType
IMutableEntityType

エンティティの型。

historyTableSchema
String

設定する値。

適用対象

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

テンポラル テーブルにマップされたエンティティに関連付けられている履歴テーブルのスキーマを表す値を設定します。

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

パラメーター

entityType
IConventionEntityType

エンティティの型。

historyTableSchema
String

設定する値。

fromDataAnnotation
Boolean

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

戻り値

構成された値です。

適用対象