IConventionTypeBaseBuilder.CanRemoveComplexProperty 方法

定義

傳回值,指出是否可以從這個類型中移除複雜屬性。

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

參數

complexProperty
IConventionComplexProperty

要移除的複雜屬性。

fromDataAnnotation
Boolean

指出是否已使用資料批註指定組態。

傳回

true 如果可以從這個類型中移除複雜屬性,則為 。

適用於