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

属性

适用于