次の方法で共有


EntityTypeExtensions.FindDefiningNavigation(IEntityType) メソッド

定義

注意事項

Entity types with defining navigations have been replaced by shared-type entity types

存在する場合、またはその null 他の場合は、定義ナビゲーションを返します。

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")]
public static Microsoft.EntityFrameworkCore.Metadata.INavigation? FindDefiningNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member FindDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.INavigation
[<System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")>]
static member FindDefiningNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindDefiningNavigation (entityType As IEntityType) As INavigation

パラメーター

entityType
IEntityType

エンティティの型。

戻り値

ナビゲーションが存在する場合、またはその null 他の場合は定義するナビゲーション。

属性

適用対象