C#C
C#2y ago
Keswiik

Refresh object in EntityFramework

Shouldn't you be checking order.IsFinalized instead of updatedOrder.IsFinalized? From the way this reads, updatedOrder is the user-modified instance and order is freshly loaded at the beginning of the method.
Was this page helpful?