Page 1 of 1

SubmitChanges(ConflictMode )-Method not found

Posted: Wed 29 Apr 2009 07:42
by rstenitzer
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

Posted: Wed 29 Apr 2009 08:36
by AndreyR
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.

Posted: Wed 29 Apr 2009 08:49
by rstenitzer
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

Posted: Wed 29 Apr 2009 11:43
by AndreyR
Could you please send me (support * devart * com, subject "LINQ: Refresh issue") a small test project illustrating the problem?

Posted: Wed 29 Apr 2009 11:50
by rstenitzer
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