Bug in Create Function Import Dialog?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 3
Joined: Tue 26 Aug 2008 10:00

Bug in Create Function Import Dialog?

Post by holger » Tue 09 Sep 2008 14:04


since Version 4.75, the Entity Framework "Create Function Import dialog" is supported. (http://www.devart.com/oranet/History.html)

Now, i have a SP wich returns nothing. I could insert it in the edmx designer and create a "imported function". The Function was sucessfully created within the edmx file but not in the generated code ... so, my question ist, how can i call the procedure in my code?

It works very well, if i change the return type to one of the objects (tables) ... but thats not my case. It should also work if the return type is not a complex one (int, decimal, bool etc.)

Is this a bug?

greets, Holger

Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 11 Sep 2008 09:48

According to Noam Ben-Ami, a program manager of the Entity Framework Tools team ( http://forums.microsoft.com/MSDN/ShowPo ... 6&SiteID=1 ):
" The problem is that the code generation system does not generate functions for sprocs that return scalar types. This feature just did not fit in v1 and we're looking to fix it in the next release. "

Post Reply