Partager via


CascadeDeleteConvention.ProcessForeignKeyRequirednessChanged Méthode

Définition

Surcharges

ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

Appelé après la modification de l’élément requis pour une clé étrangère.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Appelé après la modification de l’élément requis pour une clé étrangère.

ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

Source:
CascadeDeleteConvention.cs
Source:
CascadeDeleteConvention.cs
Source:
CascadeDeleteConvention.cs
Source:
CascadeDeleteConvention.cs
Source:
CascadeDeleteConvention.cs

Appelé après la modification de l’élément requis pour une clé étrangère.

public virtual void ProcessForeignKeyRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
override this.ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Overridable Sub ProcessForeignKeyRequirednessChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

Paramètres

relationshipBuilder
IConventionForeignKeyBuilder

Générateur de la clé étrangère.

context
IConventionContext<Nullable<Boolean>>

Informations supplémentaires associées à l’exécution de la convention.

Implémente

S’applique à

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Source:
CascadeDeleteConvention.cs
Source:
CascadeDeleteConvention.cs

Appelé après la modification de l’élément requis pour une clé étrangère.

public virtual void ProcessForeignKeyRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> context);
abstract member ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
override this.ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
Public Overridable Sub ProcessForeignKeyRequirednessChanged (relationshipBuilder As IConventionRelationshipBuilder, context As IConventionContext(Of IConventionRelationshipBuilder))

Paramètres

relationshipBuilder
IConventionRelationshipBuilder

Générateur de la clé étrangère.

context
IConventionContext<IConventionRelationshipBuilder>

Informations supplémentaires associées à l’exécution de la convention.

Implémente

S’applique à