Condividi tramite


ConventionSetBuilder.Add(Func<IServiceProvider,IConvention>) Metodo

Definizione

Aggiunge una convenzione al set.

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

Parametri

conventionFactory
Func<IServiceProvider,IConvention>

Factory che crea la convenzione.

Si applica a