Does the EF5 support object state tracking out of the box for disconnected entities or do we have to write our own implementation of it.
If so, are there any good reference examples out there?
Does the EF5 support object state tracking out of the box for disconnected entities or do we have to write our own implementation of it.
If so, are there any good reference examples out there?
Self tracking entities (STEs) seem to be the thing you want. Ther used to be this template, but it seems Microsoft is not so fond of STEs anymore. They advise you to read this though. They explain here why.