Compartir a través de


IForeignKeyAnnotationChangedConvention.ProcessForeignKeyAnnotationChanged Método

Definición

Sobrecargas

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

Se llama después de cambiar una anotación en una clave externa.

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

Se llama después de cambiar una anotación en una clave externa.

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

Source:
IForeignKeyAnnotationChangedConvention.cs
Source:
IForeignKeyAnnotationChangedConvention.cs
Source:
IForeignKeyAnnotationChangedConvention.cs

Se llama después de cambiar una anotación en una clave externa.

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))

Parámetros

relationshipBuilder
IConventionForeignKeyBuilder

Generador de la clave externa.

name
String

Nombre de la anotación.

annotation
IConventionAnnotation

Nueva anotación.

oldAnnotation
IConventionAnnotation

Anotación antigua.

context
IConventionContext<IConventionAnnotation>

Información adicional asociada a la ejecución de convención.

Se aplica a

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

Se llama después de cambiar una anotación en una clave externa.

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))

Parámetros

relationshipBuilder
IConventionRelationshipBuilder

Generador de la clave externa.

name
String

Nombre de la anotación.

annotation
IConventionAnnotation

Nueva anotación.

oldAnnotation
IConventionAnnotation

Anotación antigua.

context
IConventionContext<IConventionAnnotation>

Información adicional asociada a la ejecución de convención.

Se aplica a