Error generating model file with FunctionImport
Posted: Mon 12 Dec 2011 14:06
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.
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.