EntityTypeHierarchyMappingConvention 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 removes discriminators from non-TPH entity types and unmaps the inherited properties for TPT entity types.
public class EntityTypeHierarchyMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type EntityTypeHierarchyMappingConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class EntityTypeHierarchyMappingConvention
Implements IModelFinalizingConvention
- Inheritance
-
EntityTypeHierarchyMappingConvention
- Implements
Remarks
See Model building conventions and Entity type hierarchy mapping for more information and examples.
Constructors
EntityTypeHierarchyMappingConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Creates a new instance of EntityTypeHierarchyMappingConvention. |
Properties
Dependencies |
Dependencies for this service. |
RelationalDependencies |
Relational provider-specific dependencies for this service. |
Methods
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |
Applies to
Entity Framework