共用方式為


IEntityTypeAddedConvention Interface

Definition

Represents an operation that should be performed when an entity type is added to the model.

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

Remarks

See Model building conventions for more information and examples.

Methods

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model.

Applies to