Freigeben über


CosmosDiscriminatorConvention.SetDefaultDiscriminatorValues Methode

Definition

Konfiguriert die Diskriminatorwerte für die angegebenen Entitätstypen.

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

Parameter

entityTypes
IEnumerable<IConventionEntityType>

Die zu konfigurierenden Entitätstypen.

discriminatorBuilder
IConventionDiscriminatorBuilder

Der Diskriminator-Ersteller.

Gilt für: