共用方式為


IReadOnlyTypeBase.GetProperties 方法

定義

取得在此類型上定義的所有純量屬性。

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

傳回

在此類型上定義的屬性。

備註

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

適用於