Partager via


IPropertyElementTypeChangedConvention.ProcessPropertyElementTypeChanged Méthode

Définition

Appelé après la modification du type d’élément d’une propriété.

public void ProcessPropertyElementTypeChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.IElementType? newElementType, Microsoft.EntityFrameworkCore.Metadata.IElementType? oldElementType, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IElementType> context);
abstract member ProcessPropertyElementTypeChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.IElementType * Microsoft.EntityFrameworkCore.Metadata.IElementType * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IElementType> -> unit
Public Sub ProcessPropertyElementTypeChanged (propertyBuilder As IConventionPropertyBuilder, newElementType As IElementType, oldElementType As IElementType, context As IConventionContext(Of IElementType))

Paramètres

propertyBuilder
IConventionPropertyBuilder

Générateur de la propriété .

newElementType
IElementType

Nouveau type d’élément.

oldElementType
IElementType

Ancien type d’élément.

context
IConventionContext<IElementType>

Informations supplémentaires associées à l’exécution de la convention.

S’applique à