SubmitChanges(ConflictMode )-Method not found

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
rstenitzer
Posts: 3
Joined: Wed 29 Apr 2009 07:35

SubmitChanges(ConflictMode )-Method not found

Post by 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

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by 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.

rstenitzer
Posts: 3
Joined: Wed 29 Apr 2009 07:35

Post by 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

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by 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?

rstenitzer
Posts: 3
Joined: Wed 29 Apr 2009 07:35

Post by 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

Post Reply