Compartilhar via


ConventionsConfiguration.AddAfter<TExistingConvention> Método

Definição

Habilita uma convenção para o DbModelBuilder. Essa convenção será executada após a especificada.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public void AddAfter<TExistingConvention> (System.Data.Entity.ModelConfiguration.Conventions.IConvention newConvention) where TExistingConvention : System.Data.Entity.ModelConfiguration.Conventions.IConvention;
member this.AddAfter : System.Data.Entity.ModelConfiguration.Conventions.IConvention -> unit (requires 'ExistingConvention :> System.Data.Entity.ModelConfiguration.Conventions.IConvention)
Public Sub AddAfter(Of TExistingConvention As IConvention) (newConvention As IConvention)

Parâmetros de tipo

TExistingConvention

O tipo da convenção após a qual o habilitado será executado.

Parâmetros

newConvention
IConvention

A convenção a ser habilitada.

Atributos

Aplica-se a