Compartilhar via


ModelSource.CreateConventionSet(IConventionSetBuilder) Método

Definição

Cria o conjunto de convenções a ser usado para o modelo. Usa apenas o Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.CoreConventionSetBuilder se conventionSetBuilder for nulo.

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

Parâmetros

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

O construtor de conjunto de convenções do provedor a ser usado.

Retornos

O conjunto de convenções a ser usado.

Aplica-se a