Share via


DiscriminatorConvention.SetDefaultDiscriminatorValues Method

Definition

Configures the discriminator values for the given entity types.

protected virtual void SetDefaultDiscriminatorValues (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> entityTypes, Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDiscriminatorBuilder discriminatorBuilder);
abstract member SetDefaultDiscriminatorValues : seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> * Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDiscriminatorBuilder -> unit
override this.SetDefaultDiscriminatorValues : seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> * Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDiscriminatorBuilder -> unit
Protected Overridable Sub SetDefaultDiscriminatorValues (entityTypes As IEnumerable(Of IConventionEntityType), discriminatorBuilder As IConventionDiscriminatorBuilder)

Parameters

entityTypes
IEnumerable<IConventionEntityType>

The entity types to configure.

discriminatorBuilder
IConventionDiscriminatorBuilder

The discriminator builder.

Applies to