MutableEntityTypeExtensions.FindDefiningNavigation(IMutableEntityType) 方法

定义

注意

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

返回定义导航(如果存在)或其他 null 导航。

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

参数

entityType
IMutableEntityType

实体类型。

返回

定义导航(如果存在)或其他 null 导航。

属性

适用于