Поделиться через


IPropertyAnnotationChangedConvention.ProcessPropertyAnnotationChanged Метод

Определение

Вызывается после изменения заметки в свойстве .

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

Параметры

propertyBuilder
IConventionPropertyBuilder

Построитель для свойства .

name
String

Имя заметки.

annotation
IConventionAnnotation

Новая заметка.

oldAnnotation
IConventionAnnotation

Старая заметка.

context
IConventionContext<IConventionAnnotation>

Дополнительные сведения, связанные с выполнением соглашения.

Применяется к