Partilhar via


RelationalOptionsExtension.WithMigrationsHistoryTableName(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 WithMigrationsHistoryTableName (string migrationsHistoryTableName);
public virtual Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension WithMigrationsHistoryTableName (string? migrationsHistoryTableName);
abstract member WithMigrationsHistoryTableName : string -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
override this.WithMigrationsHistoryTableName : string -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Overridable Function WithMigrationsHistoryTableName (migrationsHistoryTableName As String) As RelationalOptionsExtension

Parâmetros

migrationsHistoryTableName
String

A opção a ser alterada.

Retornos

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

Aplica-se a