ConcurrencyCheckAttributeConvention Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A convention that configures a property as a concurrency token if it has the ConcurrencyCheckAttribute.
public class ConcurrencyCheckAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.ConcurrencyCheckAttribute>
type ConcurrencyCheckAttributeConvention = class
inherit PropertyAttributeConventionBase<ConcurrencyCheckAttribute>
Public Class ConcurrencyCheckAttributeConvention
Inherits PropertyAttributeConventionBase(Of ConcurrencyCheckAttribute)
- Inheritance
-
ConcurrencyCheckAttributeConvention
See Model building conventions for more information and examples.
Concurrency |
Creates a new instance of ConcurrencyCheckAttributeConvention. |
Dependencies |
Dependencies for this service. (Inherited from PropertyAttributeConventionBase<TAttribute>) |
Продукт | Версии |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: