Partager via


IConventionComplexTypeBuilder.HasNoProperty Méthode

Définition

Supprime une propriété de ce type complexe.

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

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

Le même générateur instance si la propriété a été supprimée, null sinon.

S’applique à