次の方法で共有


EntityTypeExtensions.FindNavigation メソッド

定義

オーバーロード

FindNavigation(IEntityType, MemberInfo)

指定したエンティティ型のナビゲーション プロパティを取得します。 nullナビゲーション プロパティが見つからない場合は を返します。

FindNavigation(IEntityType, PropertyInfo)

指定したエンティティ型のナビゲーション プロパティを取得します。 ナビゲーション プロパティが見つからない場合は null を返します。

FindNavigation(IEntityType, String)

指定したエンティティ型のナビゲーション プロパティを取得します。 nullナビゲーション プロパティが見つからない場合は を返します。

FindNavigation(IEntityType, MemberInfo)

指定したエンティティ型のナビゲーション プロパティを取得します。 nullナビゲーション プロパティが見つからない場合は を返します。

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.MemberInfo memberInfo);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, memberInfo As MemberInfo) As INavigation

パラメーター

entityType
IEntityType

エンティティの型。

memberInfo
MemberInfo

エンティティ クラスのナビゲーション プロパティ。

戻り値

ナビゲーション プロパティ。 null 何も見つからない場合は 。

適用対象

FindNavigation(IEntityType, PropertyInfo)

指定したエンティティ型のナビゲーション プロパティを取得します。 ナビゲーション プロパティが見つからない場合は null を返します。

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.PropertyInfo propertyInfo);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, propertyInfo As PropertyInfo) As INavigation

パラメーター

entityType
IEntityType

ナビゲーション プロパティを検索するエンティティ型。

propertyInfo
PropertyInfo

エンティティ クラスのナビゲーション プロパティ。

戻り値

ナビゲーション プロパティ。何も見つからない場合は null。

適用対象

FindNavigation(IEntityType, String)

指定したエンティティ型のナビゲーション プロパティを取得します。 nullナビゲーション プロパティが見つからない場合は を返します。

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, string name);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, name As String) As INavigation

パラメーター

entityType
IEntityType

エンティティの型。

name
String

エンティティ クラスのナビゲーション プロパティの名前。

戻り値

ナビゲーション プロパティ。 null 何も見つからない場合は 。

適用対象