Udostępnij za pośrednictwem


IForeignKeyAnnotationChangedConvention.ProcessForeignKeyAnnotationChanged Metoda

Definicja

Przeciążenia

ProcessForeignKeyAnnotationChanged(IConventionForeignKeyBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

Wywoływana po zmianie adnotacji na klucz obcy.

ProcessForeignKeyAnnotationChanged(IConventionRelationshipBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

Wywoływana po zmianie adnotacji na klucz obcy.

ProcessForeignKeyAnnotationChanged(IConventionForeignKeyBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

Źródło:
IForeignKeyAnnotationChangedConvention.cs
Źródło:
IForeignKeyAnnotationChangedConvention.cs
Źródło:
IForeignKeyAnnotationChangedConvention.cs

Wywoływana po zmianie adnotacji na klucz obcy.

public void ProcessForeignKeyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
public void ProcessForeignKeyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessForeignKeyAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Sub ProcessForeignKeyAnnotationChanged (relationshipBuilder As IConventionForeignKeyBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Parametry

relationshipBuilder
IConventionForeignKeyBuilder

Budowniczy klucza obcego.

name
String

Nazwa adnotacji.

annotation
IConventionAnnotation

Nowa adnotacja.

oldAnnotation
IConventionAnnotation

Stara adnotacja.

context
IConventionContext<IConventionAnnotation>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Dotyczy

ProcessForeignKeyAnnotationChanged(IConventionRelationshipBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

Wywoływana po zmianie adnotacji na klucz obcy.

public void ProcessForeignKeyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessForeignKeyAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Sub ProcessForeignKeyAnnotationChanged (relationshipBuilder As IConventionRelationshipBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Parametry

relationshipBuilder
IConventionRelationshipBuilder

Budowniczy klucza obcego.

name
String

Nazwa adnotacji.

annotation
IConventionAnnotation

Nowa adnotacja.

oldAnnotation
IConventionAnnotation

Stara adnotacja.

context
IConventionContext<IConventionAnnotation>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Dotyczy