EF not throwing DbUpdateConcurrencyException despite conflicting updates
I got this working. In step 5 of my question, I changed this line:
dbCompany.RowVersion = updatedCompany.RowVersion;
To this:
Context.Entry(dbCompany).OriginalValues["RowVersion"] = updatedCompany.RowVersion;
Now EF throws a DbUpdateConcurrencyException when trying to save dirty data!
I am working with an abstraction of Entity Framework and I don't have access to the EF context, but I found that writing
updatedCompany.RowVersion.CopyTo(dbCompany.RowVersion, 0);
solved the problem.