Bagikan melalui


IIndexAnnotationChangedConvention.ProcessIndexAnnotationChanged Metode

Definisi

Dipanggil setelah anotasi diubah pada indeks.

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

Parameter

indexBuilder
IConventionIndexBuilder

Penyusun untuk indeks.

name
String

Nama anotasi.

annotation
IConventionAnnotation

Anotasi baru.

oldAnnotation
IConventionAnnotation

Anotasi lama.

context
IConventionContext<IConventionAnnotation>

Informasi tambahan yang terkait dengan eksekusi konvensi.

Berlaku untuk