RelationalColumnCommentAttributeConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
基于应用的 CommentAttribute属性或字段配置列注释的约定。
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class RelationalColumnCommentAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.CommentAttribute>
public class RelationalColumnCommentAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.CommentAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type RelationalColumnCommentAttributeConvention = class
inherit PropertyAttributeConventionBase<CommentAttribute>
type RelationalColumnCommentAttributeConvention = class
inherit PropertyAttributeConventionBase<CommentAttribute>
Public Class RelationalColumnCommentAttributeConvention
Inherits PropertyAttributeConventionBase(Of CommentAttribute)
- 继承
- 特性
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
| 名称 | 说明 |
|---|---|
| RelationalColumnCommentAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
属性
| 名称 | 说明 |
|---|---|
| Dependencies |
此服务的依赖项。 (继承自 PropertyAttributeConventionBase<TAttribute>) |
| RelationalDependencies |
此服务的关系提供程序特定的依赖项。 |