IReadOnlyEntityType.GetDerivedServiceProperties 方法

定義

取得從這個實體類型衍生之型別上宣告的所有服務屬性。

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

傳回

衍生的服務屬性。

備註

這個方法不會傳回指定實體類型本身所宣告的服務屬性。 使用 GetServiceProperties() 傳回在此 和基底實體型別類型上宣告的服務屬性。

適用於