Condividi tramite


IConventionTypeBaseBuilder.CanRemoveComplexProperty Metodo

Definizione

Restituisce un valore che indica se la proprietà complessa può essere rimossa da questo tipo.

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

Parametri

complexProperty
IConventionComplexProperty

Proprietà complessa da rimuovere.

fromDataAnnotation
Boolean

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

Restituisce

true se la proprietà complessa può essere rimossa da questo tipo.

Si applica a