Interface IComplexPropertyAddedConvention
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Conventions
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents an operation that should be performed when a complex property is added to an type-like object.
public interface IComplexPropertyAddedConvention : IConvention
Remarks
See Model building conventions for more information and examples.
Methods
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)
Called after a complex property is added to a type-like object.
void ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder propertyBuilder, IConventionContext<IConventionComplexPropertyBuilder> context)
Parameters
propertyBuilder
IConventionComplexPropertyBuilderThe builder for the complex property.
context
IConventionContext<IConventionComplexPropertyBuilder>Additional information associated with convention execution.