IConventionTypeBaseBuilder.CanRemoveComplexProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回值,指出是否可以從這個類型中移除複雜屬性。
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
如果可以從這個類型中移除複雜屬性,則為 。