Partilhar via


ConventionSetBuilder.Add(Func<IServiceProvider,IConvention>) Método

Definição

Adiciona uma convenção ao conjunto.

public virtual void Add (Func<IServiceProvider,Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention> conventionFactory);
abstract member Add : Func<IServiceProvider, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention> -> unit
override this.Add : Func<IServiceProvider, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention> -> unit
Public Overridable Sub Add (conventionFactory As Func(Of IServiceProvider, IConvention))

Parâmetros

conventionFactory
Func<IServiceProvider,IConvention>

A fábrica que cria a convenção.

Aplica-se a