ModelSource.CreateConventionSet(IConventionSetBuilder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework