次の方法で共有


IEntityType.GetDeclaredServiceProperties メソッド

定義

指定 IEntityTypeした で宣言されているすべてのサービス プロパティを取得します。

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

戻り値

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

注釈

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

適用対象