IForeignKeyRequirednessChangedConvention Interface
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.
Represents an operation that should be performed when the requiredness for a foreign key is changed.
public interface IForeignKeyRequirednessChangedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IForeignKeyRequirednessChangedConvention = interface
interface IConvention
Public Interface IForeignKeyRequirednessChangedConvention
Implements IConvention
- Derived
- Implements
Remarks
See Model building conventions for more information and examples.
Methods
ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>) |
Called after the requiredness for a foreign key is changed. |
ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>) |
Called after the requiredness for a foreign key is changed. |
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