Table of Contents

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 IConventionTypeBaseBuilder

The builder for the type-like object.

property IConventionComplexProperty

The removed complex property.

context IConventionContext<IConventionComplexProperty>

Additional information associated with convention execution.