EntityTypeConfigurationEntityTypeAttributeConvention.ProcessEntityTypeAdded Method

Definition

Called after an entity type is added to the model if it has an attribute.

protected override void ProcessEntityTypeAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, Microsoft.EntityFrameworkCore.EntityTypeConfigurationAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder> context);
override this.ProcessEntityTypeAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.EntityTypeConfigurationAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder> -> unit
Protected Overrides Sub ProcessEntityTypeAdded (entityTypeBuilder As IConventionEntityTypeBuilder, attribute As EntityTypeConfigurationAttribute, context As IConventionContext(Of IConventionEntityTypeBuilder))

Parameters

entityTypeBuilder
IConventionEntityTypeBuilder

The builder for the entity type.

attribute
EntityTypeConfigurationAttribute

The attribute.

context
IConventionContext<IConventionEntityTypeBuilder>

Additional information associated with convention execution.

Applies to