Share via


IConventionTypeBaseBuilder.CanRemoveComplexProperty Método

Definição

Retorna um valor que indica se a propriedade complexa pode ser removida desse 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

Parâmetros

complexProperty
IConventionComplexProperty

A propriedade complexa a ser removida.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

true se a propriedade complexa puder ser removida desse tipo.

Aplica-se a