次の方法で共有


IMutableTypeBase.GetDeclaredProperties メソッド

定義

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

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

戻り値

宣言されたスカラー プロパティ。

注釈

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

適用対象