ConventionNavigationExtensions.GetTargetType(IConventionNavigation) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
Use IConventionNavigation.TargetEntityType
特定のナビゲーション プロパティが のインスタンスを保持するエンティティ型を取得します (コレクション ナビゲーションの場合は のインスタンスを保持します)。
public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetTargetType (this Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation);
[System.Obsolete("Use IConventionNavigation.TargetEntityType")]
public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetTargetType (this Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation);
static member GetTargetType : Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
[<System.Obsolete("Use IConventionNavigation.TargetEntityType")>]
static member GetTargetType : Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function GetTargetType (navigation As IConventionNavigation) As IConventionEntityType
パラメーター
- navigation
- IConventionNavigation
ターゲット エンティティの種類を検索するナビゲーション プロパティ。
戻り値
対象のエンティティの型。
- 属性
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework