RelationalDbContextOptionsBuilder<TBuilder,TExtension>.MigrationsHistoryTable メソッド

定義

データベースに適用された移行を記録するために使用するテーブルの名前を構成します。

public virtual TBuilder MigrationsHistoryTable (string tableName, string schema = default);
public virtual TBuilder MigrationsHistoryTable (string tableName, string? schema = default);
abstract member MigrationsHistoryTable : string * string -> 'Builder
override this.MigrationsHistoryTable : string * string -> 'Builder
Public Overridable Function MigrationsHistoryTable (tableName As String, Optional schema As String = Nothing) As TBuilder

パラメーター

tableName
String

テーブルの名前。

schema
String

テーブルのスキーマ。

戻り値

TBuilder

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 データベースの移行 」を参照してください。

適用対象