EntityTypeConfigurationEntityTypeAttributeConvention Class
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.
A convention that applies the entity type configuration specified in EntityTypeConfigurationAttribute.
public class EntityTypeConfigurationEntityTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.EntityTypeAttributeConventionBase<Microsoft.EntityFrameworkCore.EntityTypeConfigurationAttribute>
type EntityTypeConfigurationEntityTypeAttributeConvention = class
inherit EntityTypeAttributeConventionBase<EntityTypeConfigurationAttribute>
Public Class EntityTypeConfigurationEntityTypeAttributeConvention
Inherits EntityTypeAttributeConventionBase(Of EntityTypeConfigurationAttribute)
- Inheritance
-
EntityTypeConfigurationEntityTypeAttributeConvention
Remarks
See Model building conventions for more information and examples.
Constructors
EntityTypeConfigurationEntityTypeAttributeConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of EntityTypeConfigurationEntityTypeAttributeConvention. |
Properties
Dependencies |
Dependencies for this service. (Inherited from EntityTypeAttributeConventionBase<TAttribute>) |
Methods
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, EntityTypeConfigurationAttribute, IConventionContext<IConventionEntityTypeBuilder>) |
Called after an entity type is added to the model if it has an attribute. |
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>) |
Called after an entity type is added to the model. (Inherited from EntityTypeAttributeConventionBase<TAttribute>) |
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>) |
Called after an entity type is added to the model if it has an attribute. (Inherited from EntityTypeAttributeConventionBase<TAttribute>) |
Applies to
Entity Framework