指定した型で宣言されたナビゲーション プロパティを取得します。
名前空間: Microsoft.Data.Edm
アセンブリ: Microsoft.Data.Edm (Microsoft.Data.Edm.dll)
構文
'宣言
<ExtensionAttribute> _
Public Shared Function DeclaredNavigationProperties ( _
type As IEdmEntityType _
) As IEnumerable(Of IEdmNavigationProperty)
'使用
Dim type As IEdmEntityType
Dim returnValue As IEnumerable(Of IEdmNavigationProperty)
returnValue = type.DeclaredNavigationProperties()
public static IEnumerable<IEdmNavigationProperty> DeclaredNavigationProperties(
this IEdmEntityType type
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmNavigationProperty^>^ DeclaredNavigationProperties(
IEdmEntityType^ type
)
static member DeclaredNavigationProperties :
type:IEdmEntityType -> IEnumerable<IEdmNavigationProperty>
public static function DeclaredNavigationProperties(
type : IEdmEntityType
) : IEnumerable<IEdmNavigationProperty>
パラメーター
- type
型: Microsoft.Data.Edm.IEdmEntityType
エンティティ型。
戻り値
型: System.Collections.Generic.IEnumerable<IEdmNavigationProperty>
宣言されたナビゲーション プロパティのコレクション。
使用に関するメモ
Visual Basic および C# では、このメソッドを型 IEdmEntityType の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。