Interface IPropertyNullabilityChangedConvention
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Conventions
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents an operation that should be performed when the nullability for a property is changed.
public interface IPropertyNullabilityChangedConvention : IConvention
Remarks
See Model building conventions for more information and examples.
Methods
ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<bool?>)
Called after the nullability for a property is changed.
void ProcessPropertyNullabilityChanged(IConventionPropertyBuilder propertyBuilder, IConventionContext<bool?> context)
Parameters
propertyBuilder
IConventionPropertyBuilderThe builder for the property.
context
IConventionContext<bool?>Additional information associated with convention execution.