次の方法で共有


MutableNavigationExtensions.GetTargetType(IMutableNavigation) メソッド

定義

注意事項

Use IMutableNavigation.TargetEntityType

特定のナビゲーション プロパティが のインスタンスを保持するエンティティ型を取得します (コレクション ナビゲーションの場合は のインスタンスを保持します)。

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType GetTargetType (this Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation navigation);
[System.Obsolete("Use IMutableNavigation.TargetEntityType")]
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType GetTargetType (this Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation navigation);
static member GetTargetType : Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
[<System.Obsolete("Use IMutableNavigation.TargetEntityType")>]
static member GetTargetType : Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function GetTargetType (navigation As IMutableNavigation) As IMutableEntityType

パラメーター

navigation
IMutableNavigation

ターゲット エンティティの種類を検索するナビゲーション プロパティ。

戻り値

対象のエンティティの型。

属性

適用対象