共用方式為


ITypeBase.GetProperties 方法

定義

取得在此類型上定義的屬性。

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

傳回

在此類型上定義的屬性。

備註

此 API 只會傳回純量屬性,而且不會傳回流覽、複雜或服務屬性。

適用於