Imported Function does not create class method
Posted: Wed 04 Mar 2009 10:15
I am using dotconnect version 5.0.22.0 and oracle instance 9.2
I have selected and added a stored procedure to the entity model via the "update model from database" wizard. This results in the storage model as :
Then I do a function import (via edm wizard) selecting the stored
procedure and mapping it to a function import name 'CopyPage'.
This results in the conceptual model as :
FunctionImport Name="CopyPage">
and in the mapping layer as :
All looks correct and the project builds successfully in VS2008. However there is no method generated in the EntityModel.Designer.cs class. So I can not access the imported function from code. I did a similar excercise
with SQL server 2005 following same steps and that created the method after the build.
From this forum I am reading this is working for quite some other users. So Any idea what I may be doing wrong or is it a version related issue ?
I have selected and added a stored procedure to the entity model via the "update model from database" wizard. This results in the storage model as :
Then I do a function import (via edm wizard) selecting the stored
procedure and mapping it to a function import name 'CopyPage'.
This results in the conceptual model as :
FunctionImport Name="CopyPage">
and in the mapping layer as :
All looks correct and the project builds successfully in VS2008. However there is no method generated in the EntityModel.Designer.cs class. So I can not access the imported function from code. I did a similar excercise
with SQL server 2005 following same steps and that created the method after the build.
From this forum I am reading this is working for quite some other users. So Any idea what I may be doing wrong or is it a version related issue ?