共用方式為


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 存在,則定義導覽。

屬性

適用於