次の方法で共有


IMutableEntityType.GetDeclaredProperties メソッド

定義

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

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

戻り値

ナビゲーション以外のプロパティを宣言しました。

注釈

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

適用対象