Table of Contents

Interface IPropertyAddedConvention

Namespace
Microsoft.EntityFrameworkCore.Metadata.Conventions
Assembly
Microsoft.EntityFrameworkCore.dll

Represents an operation that should be performed when a property is added to the entity type.

public interface IPropertyAddedConvention : IConvention

Remarks

See Model building conventions for more information and examples.

Methods

ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Called after a property is added to the entity type.

void ProcessPropertyAdded(IConventionPropertyBuilder propertyBuilder, IConventionContext<IConventionPropertyBuilder> context)

Parameters

propertyBuilder IConventionPropertyBuilder

The builder for the property.

context IConventionContext<IConventionPropertyBuilder>

Additional information associated with convention execution.