ModelSource.CreateConventionSet(IConventionSetBuilder) Yöntem

Tanım

Model için kullanılacak kural kümesini oluşturur. Yalnızca if conventionSetBuilder null değerini kullanırMicrosoft.EntityFrameworkCore.Metadata.Conventions.Internal.CoreConventionSetBuilder.

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

Parametreler

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

Kullanılacak sağlayıcı kuralı kümesi oluşturucusu.

Döndürülenler

Kullanılacak kural kümesi.

Şunlara uygulanır