Compartilhar via


IComplexPropertyFieldChangedConvention.ProcessComplexPropertyFieldChanged Método

Definição

Chamado depois que o campo de backup de uma propriedade complexa é alterado.

public void ProcessComplexPropertyFieldChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, System.Reflection.FieldInfo? newFieldInfo, System.Reflection.FieldInfo? oldFieldInfo, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<System.Reflection.FieldInfo> context);
abstract member ProcessComplexPropertyFieldChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * System.Reflection.FieldInfo * System.Reflection.FieldInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<System.Reflection.FieldInfo> -> unit
Public Sub ProcessComplexPropertyFieldChanged (propertyBuilder As IConventionComplexPropertyBuilder, newFieldInfo As FieldInfo, oldFieldInfo As FieldInfo, context As IConventionContext(Of FieldInfo))

Parâmetros

propertyBuilder
IConventionComplexPropertyBuilder

O construtor da propriedade .

newFieldInfo
FieldInfo

O novo campo.

oldFieldInfo
FieldInfo

O campo antigo.

context
IConventionContext<FieldInfo>

Informações adicionais associadas à execução da convenção.

Aplica-se a