Page 1 of 1

Error generating model file with FunctionImport

Posted: Mon 12 Dec 2011 14:06
by object
Hi,

Starting apprx. from previous version, I have to manually edit models generated with dotConnect for Oracle if they have FunctionImport section.

There is an EntitySet DistributionFiles, and here is the definition that works:





Here's the one that causes problems (error from custom tool run):





I.e. inclusion of "EntitySet" attribute causes the error, and dotConnect includes it.

NB! Actually the situation is even more complicated. I first need to remove "EntitySet" attribute to be able to run custom tool, and then once the C# entity file is generated I need to bring FunctionImport EntitySet attitbute back to the model file.

Posted: Thu 15 Dec 2011 14:56
by Shalex
Thank you for your report. We have reproduced the problem. We will notify you when it is fixed.

Posted: Mon 19 Dec 2011 17:51
by Shalex
The bug with duplicating EntitySet attribute when using entity return type is fixed. We will post here when the corresponding build of dotConnect for Oracle is available for download.

Posted: Thu 22 Dec 2011 17:30
by Shalex
New build of dotConnect for Oracle 6.60.268 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=22977 .