Udostępnij za pośrednictwem


DeleteBehaviorAttributeConvention.ProcessForeignKeyPrincipalEndChanged Metoda

Definicja

Wywoływana po zmianie głównego końca klucza obcego.

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

Parametry

relationshipBuilder
IConventionForeignKeyBuilder

Konstruktor klucza obcego.

context
IConventionContext<IConventionForeignKeyBuilder>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Implementuje

Dotyczy