RelationalRuntimeModelConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建可变模型的优化副本的约定。 此约定通常由数据库提供程序实现,用于在创建只读模型时更新提供程序批注。
[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalRuntimeModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.RuntimeModelConvention
public class RelationalRuntimeModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.RuntimeModelConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalRuntimeModelConvention = class
inherit RuntimeModelConvention
type RelationalRuntimeModelConvention = class
inherit RuntimeModelConvention
Public Class RelationalRuntimeModelConvention
Inherits RuntimeModelConvention
- 继承
- 派生
- 特性
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
| 名称 | 说明 |
|---|---|
| RelationalRuntimeModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
创建 RelationalRuntimeModelConvention的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Dependencies |
此服务的依赖项。 (继承自 RuntimeModelConvention) |
| RelationalDependencies |
此服务的关系提供程序特定的依赖项。 |