IKeyAnnotationChangedConvention.ProcessKeyAnnotationChanged Yöntem

Tanım

Bir anahtarda ek açıklama değiştirildikten sonra çağrılır.

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

Parametreler

keyBuilder
IConventionKeyBuilder

Anahtarın oluşturucusu.

name
String

Ek açıklama adı.

annotation
IConventionAnnotation

Yeni ek açıklama.

oldAnnotation
IConventionAnnotation

Eski ek açıklama.

context
IConventionContext<IConventionAnnotation>

Kural yürütme ile ilişkili ek bilgiler.

Şunlara uygulanır