Condividi tramite


ModelSource.CreateConventionSet(IConventionSetBuilder) Metodo

Definizione

Crea il set di convenzioni da usare per il modello. Usa solo se Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.CoreConventionSetBuilderconventionSetBuilder è 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

Parametri

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

Generatore di set di convenzioni del provider da usare.

Restituisce

Convenzione impostata su da usare.

Si applica a