TimestampAttributeConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個將該屬性配置為並行標記的慣例,若對其應用 a TimestampAttribute 。
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class TimestampAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.TimestampAttribute>
public class TimestampAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.TimestampAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type TimestampAttributeConvention = class
inherit PropertyAttributeConventionBase<TimestampAttribute>
type TimestampAttributeConvention = class
inherit PropertyAttributeConventionBase<TimestampAttribute>
Public Class TimestampAttributeConvention
Inherits PropertyAttributeConventionBase(Of TimestampAttribute)
- 繼承
- 屬性
備註
更多資訊與範例請參閱 模型建構慣例 。
建構函式
| 名稱 | Description |
|---|---|
| TimestampAttributeConvention(ProviderConventionSetBuilderDependencies) |
建立一個新的 實例。TimestampAttributeConvention |
屬性
| 名稱 | Description |
|---|---|
| Dependencies |
此服務的依賴關係。 (繼承來源 PropertyAttributeConventionBase<TAttribute>) |