NavigationEagerLoadingConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将导航配置为预先加载的实体类型的约定。
[System.Runtime.CompilerServices.Nullable(0)]
public class NavigationEagerLoadingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention
public class NavigationEagerLoadingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type NavigationEagerLoadingConvention = class
interface IForeignKeyOwnershipChangedConvention
interface IConvention
type NavigationEagerLoadingConvention = class
interface IForeignKeyOwnershipChangedConvention
interface IConvention
Public Class NavigationEagerLoadingConvention
Implements IForeignKeyOwnershipChangedConvention
- 继承
-
NavigationEagerLoadingConvention
- 特性
- 实现
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
| 名称 | 说明 |
|---|---|
| NavigationEagerLoadingConvention(ProviderConventionSetBuilderDependencies) |
创建 NavigationEagerLoadingConvention的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Dependencies |
此服务的依赖项。 |