Table of Contents

Interface IComplexPropertyNullabilityChangedConvention

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

Represents an operation that should be performed when the nullability for a complex property is changed.

public interface IComplexPropertyNullabilityChangedConvention : IConvention

Remarks

See Model building conventions for more information and examples.

Methods

ProcessComplexPropertyNullabilityChanged(IConventionComplexPropertyBuilder, IConventionContext<bool?>)

Called after the nullability for a complex property is changed.

void ProcessComplexPropertyNullabilityChanged(IConventionComplexPropertyBuilder propertyBuilder, IConventionContext<bool?> context)

Parameters

propertyBuilder IConventionComplexPropertyBuilder

The builder for the property.

context IConventionContext<bool?>

Additional information associated with convention execution.