Share via


PropertyOverridesConvention Class

Definition

A convention that ensures that the declaring property is current for the property overrides.

public class PropertyOverridesConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention
type PropertyOverridesConvention = class
    interface IPropertyAddedConvention
    interface IConvention
Public Class PropertyOverridesConvention
Implements IPropertyAddedConvention
Inheritance
PropertyOverridesConvention
Implements

Remarks

See Model building conventions and Entity type hierarchy mapping for more information and examples.

Constructors

PropertyOverridesConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of PropertyOverridesConvention.

Properties

Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Called after a property is added to the entity type.

Applies to