EntityTypeConfigurationAttributeConvention.ProcessComplexTypeAdded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework