Compartilhar via


RelationalOptionsExtension.WithMigrationsHistoryTableSchema(String) Método

Definição

Cria uma nova instância com todas as opções iguais às desta instância, mas com a opção fornecida alterada. É incomum chamar esse método diretamente. Use 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

Parâmetros

migrationsHistoryTableSchema
String

A opção a ser alterada.

Retornos

Uma nova instância com a opção alterada.

Aplica-se a