mirror of https://github.com/abpframework/abp.git
Browse Source
```cs
fail: Microsoft.EntityFrameworkCore.Update[10000]
An exception occurred in the database while saving changes for context type 'Volo.Abp.TestApp.EntityFrameworkCore.TestAppDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyExceptionAsync(RelationalDataReader reader, Int32 commandIndex, Int32 expectedRowsAffected, Int32 rowsAffected, CancellationToken cancellationToken)
warn: Volo.Abp.EntityFrameworkCore.AbpDbContext[0]
There is an entry which is not saved due to concurrency exception:
City {Id: 27237527-605e-4652-a2a5-68e0e512da36} Deleted
```
pull/16995/head
1 changed files with 15 additions and 0 deletions
Loading…
Reference in new issue