次の方法で共有


IConventionEntityType.GetDeclaredServiceProperties メソッド

定義

このエンティティ型で宣言されているすべてのサービス プロパティを取得します。

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

戻り値

宣言されたサービス プロパティ。

注釈

このメソッドは、基本型で宣言されたプロパティを返しません。 同じプロパティを複数回処理しないように、すべてのエンティティ型を反復処理する場合に便利です。 を使用して GetServiceProperties() 、基本型で宣言されたプロパティも返します。

適用対象