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