ForeignKeyReferenceAlreadyHasValueException on Refresh

ForeignKeyReferenceAlreadyHasValueException on Refresh

Postby fmarakasov » Mon 28 Mar 2011 20:17

Hello!
When i'm try to call DataContext.Refresh(RefreshMode.OverwriteCurrentValues, obj) and object is on the many side of a one-to-many relationship there is an exception ForeignKeyReferenceAlreadyHasValueException.
fmarakasov
 
Posts: 5
Joined: Fri 21 Jan 2011 16:12
Location: RU

Postby StanislavK » Wed 30 Mar 2011 13:24

Thank you for the report, we have reproduced the problem. We will analyze it and inform you about the results as soon as possible.
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby StanislavK » Thu 19 May 2011 11:26

We have fixed this issue, the fix is available in the latest 2.50.23 build of LinqConnect. The new version can be downloaded from
http://www.devart.com/linqconnect/download.html
(the trial version) or from Registered Users' Area (for users with active subscription only):
http://secure.devart.com/

For the detailed information about the improvements and fixes available in LinqConnect 2.50.23, please refer to
http://www.devart.com/forums/viewtopic.php?t=21036
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48


Return to LinqConnect (LINQ to SQL support)