共用方式為


IConventionComplexTypeBuilder.RemoveUnusedImplicitProperties 方法

定義

如果屬性不是任何中繼資料物件的一部分,則會移除指定清單中的屬性。

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder RemoveUnusedImplicitProperties (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> properties);
abstract member RemoveUnusedImplicitProperties : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder
Public Function RemoveUnusedImplicitProperties (properties As IReadOnlyList(Of IConventionProperty)) As IConventionComplexTypeBuilder

參數

properties
IReadOnlyList<IConventionProperty>

要移除的屬性。

傳回

適用於