IForeignKeyDependentRequirednessChangedConvention.ProcessForeignKeyDependentRequirednessChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after the dependent requiredness for a foreign key is changed.
public void ProcessForeignKeyDependentRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessForeignKeyDependentRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Sub ProcessForeignKeyDependentRequirednessChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))
Parameters
- relationshipBuilder
- IConventionForeignKeyBuilder
The builder for the foreign key.
- context
- IConventionContext<Nullable<Boolean>>
Additional information associated with convention execution.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework