Data Annotations

Timestamp Attribute in EF Core

Using Timestamp Attribute is a way to handle the Concurrency issues. The Concurrency issue arises when multiple users attempt to update/delete the same row at the same time. This issue can be handled either by using the Timestamp column or ConcurrencyCheck attribute on the property. Timestamp columns are the preferred way of using for concurrency check. This attribute is available in both Entity Framework & Entity Framework Core

Timestamp Attribute in EF Core Read More »

Scroll to Top