Partager via


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

Définition

Ajoute une convention à l’ensemble.

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))

Paramètres

conventionFactory
Func<IServiceProvider,IConvention>

Fabrique qui crée la convention.

S’applique à