Share via


IConventionTypeBaseBuilder.CanRemoveProperty Méthode

Définition

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

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

Paramètres

property
IConventionProperty

Propriété à 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é peut être supprimée de ce type.

S’applique à