CosmosDiscriminatorConvention.ProcessEmbeddedDiscriminatorName Method

Definition

Called after HasEmbeddedDiscriminatorName(String) has been called.

C#
public virtual void ProcessEmbeddedDiscriminatorName (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, string? newName, string? oldName, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);

Parameters

modelBuilder
IConventionModelBuilder

The builder for the model.

newName
String

The new discriminator name.

oldName
String

The current discriminator name.

context
IConventionContext<String>

Additional information associated with convention execution.

Implements

Applies to

Product Versions
Entity Framework Core 9.0