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)
- 繼承
- 屬性
備註
更多資訊與範例請參閱 模型建構慣例 。
建構函式
| 名稱 | Description |
|---|---|
| RelationalColumnCommentAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
屬性
| 名稱 | Description |
|---|---|
| Dependencies |
此服務的依賴關係。 (繼承來源 PropertyAttributeConventionBase<TAttribute>) |
| RelationalDependencies |
此服務的關聯提供者專屬相依關係。 |