Hi,
I think there seems to be an issue with EntityAspect.RejectChanges. The case is as follows:
1. Load list into observablecollection from database (1 row with column "Name" = "test")
2. Edit the row and change "Name" to "test 123"
3. Save the row using SaveChangesAsync. This is all ok upto here. Save is persisted correctly
4. Edit the row again and change "Name" to "test 456"
5. Cancel the row edit by calling EntityAspect.RejectChanges() on the Entity row
6. The value in the database is correct ie. it has not been changed to "test 456" but the Entity cache seems to be holding onto the original value retrieved from the database ie. "test" and not the saved value "test 123"
Please could you advise if this is a known issue or whether there seems to be something missing.
Thanks
Jeejee
Edited by jeejee - 19-Jul-2010 at 7:25am