Partilhar via


MigrationsSqlGenerator.HasLegacyRenameOperations(IModel) Método

Definição

Verifica se e RenameSequenceOperation usam ou não RenameTableOperation o comportamento herdado de definir o novo nome e o esquema como nulos quando inalterados.

protected virtual bool HasLegacyRenameOperations (Microsoft.EntityFrameworkCore.Metadata.IModel model);
protected virtual bool HasLegacyRenameOperations (Microsoft.EntityFrameworkCore.Metadata.IModel? model);
abstract member HasLegacyRenameOperations : Microsoft.EntityFrameworkCore.Metadata.IModel -> bool
override this.HasLegacyRenameOperations : Microsoft.EntityFrameworkCore.Metadata.IModel -> bool
Protected Overridable Function HasLegacyRenameOperations (model As IModel) As Boolean

Parâmetros

model
IModel

O modelo de destino.

Retornos

true se o comportamento herdado for usado.

Aplica-se a