Freigeben über


IConventionComplexTypeBuilder.HasNoComplexProperty Methode

Definition

Entfernt eine komplexe Eigenschaft aus diesem komplexen Typ.

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

Parameter

complexProperty
IConventionComplexProperty

Die zu entfernende komplexe Eigenschaft.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Derselbe Generator instance, wenn die komplexe Eigenschaft entfernt wurde, andernfallsnull.

Gilt für: