Partager via


EntityTypeConfigurationAttributeConvention.ProcessComplexTypeAdded Method

Definition

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

protected override void ProcessComplexTypeAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder complexTypeBuilder, Microsoft.EntityFrameworkCore.EntityTypeConfigurationAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessComplexTypeAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder * Microsoft.EntityFrameworkCore.EntityTypeConfigurationAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessComplexTypeAdded (complexTypeBuilder As IConventionComplexTypeBuilder, attribute As EntityTypeConfigurationAttribute, context As IConventionContext)

Parameters

complexTypeBuilder
IConventionComplexTypeBuilder

The builder for the complex type.

attribute
EntityTypeConfigurationAttribute

The attribute.

context
IConventionContext

Additional information associated with convention execution.

Applies to