Partager via


ModelSource.CreateConventionSet(IConventionSetBuilder) Méthode

Définition

Crée le jeu de conventions à utiliser pour le modèle. Utilise uniquement si a la Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.CoreConventionSetBuilderconventionSetBuilder valeur null.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet CreateConventionSet (Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder conventionSetBuilder);
abstract member CreateConventionSet : Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder -> Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet
override this.CreateConventionSet : Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder -> Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet
Protected Overridable Function CreateConventionSet (conventionSetBuilder As IConventionSetBuilder) As ConventionSet

Paramètres

conventionSetBuilder
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder

Générateur de convention du fournisseur à utiliser.

Retours

Ensemble de convention à utiliser.

S’applique à