IConventionEntityType.GetDerivedServiceProperties 方法

定義

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

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

傳回

衍生的服務屬性。

備註

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

適用於