79440073

Date: 2025-02-14 17:07:53
Score: 0.5
Natty:
Report link

Ensure that the RowVersion property is correctly configured as a concurrency token in your DbContext:

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder.Entity<Person>()
        .Property(p => p.RowVersion)
        .IsConcurrencyToken();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cihangir Yaman