Partager via


OwnedAttributeConvention.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.OwnedAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessComplexTypeAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder * Microsoft.EntityFrameworkCore.OwnedAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessComplexTypeAdded (complexTypeBuilder As IConventionComplexTypeBuilder, attribute As OwnedAttribute, context As IConventionContext)

Parameters

complexTypeBuilder
IConventionComplexTypeBuilder

The builder for the complex type.

attribute
OwnedAttribute

The attribute.

context
IConventionContext

Additional information associated with convention execution.

Applies to