IReadOnlyEntityType.GetServiceProperties 方法

定義

取得這個實體類型上定義的所有 IReadOnlyServiceProperty

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

傳回

此實體類型上定義的服務屬性。

備註

此 API 只會傳回服務屬性,而且不會傳回純量或導覽屬性。

適用於