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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework