This question is locked. New answers and comments are not allowed.
Hi there
I try to resolve an OptimisticVerificationException: The user1 changes data of an entity but does not commit it to the database yet. Another user2 changes data on the database. Now the user1 tries to commit the data and retrieves an OptimisticVerificationException. This is expected. But now I try to resolve the entity which caused the conflict by using the GetLastConflicts method on the context. But there are no entries returned (even if ConcurrencyConflictsProcessingMode
is AggregateAll). Is this a known bug? I can get the object-Id by, but as I don't have the object-type, I cannot get the conflicting object.
catch
(OptimisticVerificationException ex)
{
IList<ConcurrencyConflict> conflicts =
this
.GetLastConflicts();
// always Count == 0
I'm using DataAccess 2015.1.225.1.
Greetings,
Florian