Partager via


IConventionTypeBaseBuilder.CanRemoveComplexProperty Méthode

Définition

Retourne une valeur indiquant si la propriété complexe peut être supprimée de ce type.

public bool CanRemoveComplexProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty complexProperty, bool fromDataAnnotation = false);
abstract member CanRemoveComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty * bool -> bool
Public Function CanRemoveComplexProperty (complexProperty As IConventionComplexProperty, Optional fromDataAnnotation As Boolean = false) As Boolean

Paramètres

complexProperty
IConventionComplexProperty

Propriété complexe à supprimer.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

true si la propriété complexe peut être supprimée de ce type.

S’applique à