共用方式為


IDiscriminatorPropertySetConvention Interface

Definition

Represents an operation that should be performed when a discriminator property is set for an entity type.

public interface IDiscriminatorPropertySetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IDiscriminatorPropertySetConvention = interface
    interface IConvention
Public Interface IDiscriminatorPropertySetConvention
Implements IConvention
Derived
Implements

Remarks

See Model building conventions for more information and examples.

Methods

ProcessDiscriminatorPropertySet(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Called after a discriminator property is set.

Applies to