MutableEntityTypeExtensions.GetDeclaredProperties(IMutableEntityType) メソッド

定義

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

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> GetDeclaredProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetDeclaredProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>
<Extension()>
Public Function GetDeclaredProperties (entityType As IMutableEntityType) As IEnumerable(Of IMutableProperty)

パラメーター

entityType
IMutableEntityType

エンティティの型。

戻り値

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

適用対象