9 min read
Optimistic Concurrency in EF Core Using DateTime, Not RowVersion
Prevent lost updates with optimistic concurrency in EF Core: use a DateTime concurrency token instead of RowVersion, handle DbUpdateConcurrencyException and return 409 Conflict.