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