Freigeben über


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

Definition

Fügt dem Satz eine Konvention hinzu.

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

Parameter

conventionFactory
Func<IServiceProvider,IConvention>

Die Factory, die die Konvention erstellt.

Gilt für: