google-code-export / dataobjectsdotnet

Automatically exported from code.google.com/p/dataobjectsdotnet
0 stars 0 forks source link

DisconnectedState overwrites items added to EntitySet on state fetches - that's wrong, they should be kept there #848

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
See 
http://support.x-tensive.com/question/3446/disconnectedstate-applychanges-and-on
emany-to-many-with-merge

Original issue reported on code.google.com by alex.yakunin on 17 Nov 2010 at 10:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Actually, there are two problems:
- One is mentioned in title
- Also, DS must not fetch the state for EntitySets that belong to newly created 
entities.

Likely, the second bug appears only in case when EntitySet is paired.

Original comment by alex.yakunin on 17 Nov 2010 at 10:03

GoogleCodeExporter commented 9 years ago
Also note, that we must implement a complete test described in update 4.

Original comment by alex.yakunin on 17 Nov 2010 at 10:05