Share via


ModelSource.CreateConventionSet(IConventionSetBuilder) Method

Definition

Creates the convention set to be used for the model. Only uses the Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.CoreConventionSetBuilder if conventionSetBuilder is 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

Parameters

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

The provider convention set builder to be used.

Returns

The convention set to be used.

Applies to