Share via


IMutableTypeBase.GetDeclaredComplexProperties 方法

定義

取得在這個類型上宣告的所有複雜屬性。

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty> GetDeclaredComplexProperties ();
abstract member GetDeclaredComplexProperties : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty>
Public Function GetDeclaredComplexProperties () As IEnumerable(Of IMutableComplexProperty)

傳回

宣告的複雜屬性。

備註

這個方法不會傳回在基底類型上宣告的屬性。 在逐一查看所有類型時,可避免多次處理相同的屬性。 使用 GetComplexProperties() 也會傳回基底類型上宣告的屬性。

適用於