ConventionEntityTypeExtensions.FindDefiningNavigation 方法

定義

警告

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

如果存在, null 則傳回定義導覽。

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

參數

entityType
IConventionEntityType

實體類型。

傳回

如果存在或 null 存在,則定義導覽。

屬性

適用於