Condividi tramite


IConventionComplexTypeBuilder.HasNoComplexProperty Metodo

Definizione

Rimuove una proprietà complessa da questo tipo complesso.

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

Parametri

complexProperty
IConventionComplexProperty

Proprietà complessa da rimuovere.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Stessa istanza del generatore se la proprietà complessa è stata rimossa, null in caso contrario.

Si applica a