RelationalOptionsExtension.WithMigrationsHistoryTableSchema(String) 方法

定义

创建一个新实例,其所有选项都与此实例相同,但给定的选项已更改。 直接调用此方法是不寻常的。 请改用 DbContextOptionsBuilder

public virtual Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension WithMigrationsHistoryTableSchema (string migrationsHistoryTableSchema);
public virtual Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension WithMigrationsHistoryTableSchema (string? migrationsHistoryTableSchema);
abstract member WithMigrationsHistoryTableSchema : string -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
override this.WithMigrationsHistoryTableSchema : string -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Overridable Function WithMigrationsHistoryTableSchema (migrationsHistoryTableSchema As String) As RelationalOptionsExtension

参数

migrationsHistoryTableSchema
String

要更改的选项。

返回

选项已更改的新实例。

适用于