SubmitChanges(ConflictMode )-Method not found

SubmitChanges(ConflictMode )-Method not found

Postby rstenitzer » Wed 29 Apr 2009 07:42

Hi!
Im using the current 5.0.26 version of dotConnect for Oracle .

Unfortunately I could not find a SubmitChangesMethod where I can set the ConflictMode as described in the documentation:
http://www.devart.com/dotconnect/linq/d ... anges.html


Also the method
DataContext.Refresh(System.Data.Linq.RefreshMode.KeepChanges,excelObj);
throws a not Implemented Exception ??

What am I missing ?
Please Respond quickly I have to fix up that urgently
thx
rstenitzer
 
Posts: 3
Joined: Wed 29 Apr 2009 07:35

Postby AndreyR » Wed 29 Apr 2009 08:36

Sorry, the mentioned build contains more fresh documentation.
You can download dotConnect for Oracle 5.20.27 Beta, it contains support for the SubmitChanges() method with the ConflictMode parameter.
As for the Refresh() method, it isn't implemented yet.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby rstenitzer » Wed 29 Apr 2009 08:49

Thank you for the quick response.
Ho can I reload elements without the Refresh-Method ?
I do have an parent Object which contains a list of childObjects

I do add an new Childobject to that List using InsertOnSubmit(newChildObject)
It is inserted correctly in the db , but it is not included in the parent-Object list ??
How do I have to handle this!
thx
rstenitzer
 
Posts: 3
Joined: Wed 29 Apr 2009 07:35

Postby AndreyR » Wed 29 Apr 2009 11:43

Could you please send me (support * devart * com, subject "LINQ: Refresh issue") a small test project illustrating the problem?
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby rstenitzer » Wed 29 Apr 2009 11:50

I figured it out:
I did set the parentObjectId
instead of the direct reference to the parentObject

When you set the objectreference the childobject ist added
rstenitzer
 
Posts: 3
Joined: Wed 29 Apr 2009 07:35


Return to LinqConnect (LINQ to SQL support)