Condividi tramite


SqlServerIndexConvention.ProcessIndexAnnotationChanged Metodo

Definizione

Chiamato dopo la modifica di un'annotazione in un indice.

public virtual 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 virtual 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
override this.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 Overridable Sub ProcessIndexAnnotationChanged (indexBuilder As IConventionIndexBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Parametri

indexBuilder
IConventionIndexBuilder

Generatore per l'indice.

name
String

Nome annotazione.

annotation
IConventionAnnotation

Nuova annotazione.

oldAnnotation
IConventionAnnotation

Annotazione precedente.

context
IConventionContext<IConventionAnnotation>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Implementazioni

Si applica a