Interface IPropertyRemovedConvention
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Conventions
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents an operation that should be performed when a property is removed from the entity type.
public interface IPropertyRemovedConvention : IConvention
Remarks
See Model building conventions for more information and examples.
Methods
ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)
Called after a property is removed from the entity type.
void ProcessPropertyRemoved(IConventionTypeBaseBuilder typeBaseBuilder, IConventionProperty property, IConventionContext<IConventionProperty> context)
Parameters
typeBaseBuilder
IConventionTypeBaseBuilderThe builder for the entity type that contained the property.
property
IConventionPropertyThe removed property.
context
IConventionContext<IConventionProperty>Additional information associated with convention execution.