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 导航。

属性

适用于