Compartilhar via


DiscriminatorConvention.SetDefaultDiscriminatorValues Método

Definição

Configura os valores discriminatórios para os tipos de entidade fornecidos.

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)

Parâmetros

entityTypes
IEnumerable<IConventionEntityType>

Os tipos de entidade a serem configurados.

discriminatorBuilder
IConventionDiscriminatorBuilder

O construtor discriminador.

Aplica-se a