BUG #16244: Ref cursor from PostgreSQL and entity Framework

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG #16244: Ref cursor from PostgreSQL and entity Framework

PG Doc comments form
The following bug has been logged on the website:

Bug reference:      16244
Logged by:          Ravi Sah
Email address:      [hidden email]
PostgreSQL version: 11.6
Operating system:   Windows 10
Description:        

I have a Function in PostgreSQL that has return type 'refcursor'. i'm using
this Function in Entity Framework by using Add Function Import.ThenI am
getting error in Entity Framework 6.0 that

"System.NotSupportedExcepction"

i have used Npgsql,dbconnect provider for connection to postgresql.

.Kindly provide solution for this problem..

Reply | Threaded
Open this post in threaded view
|

Re: BUG #16244: Ref cursor from PostgreSQL and entity Framework

David G Johnston
On Wednesday, February 5, 2020, PG Bug reporting form <[hidden email]> wrote:
The following bug has been logged on the website:

Bug reference:      16244
Logged by:          Ravi Sah
Email address:      [hidden email]
PostgreSQL version: 11.6
Operating system:   Windows 10
Description:       

I have a Function in PostgreSQL that has return type 'refcursor'. i'm using
this Function in Entity Framework by using Add Function Import.ThenI am
getting error in Entity Framework 6.0 that

"System.NotSupportedExcepction"

i have used Npgsql,dbconnect provider for connection to postgresql.

.Kindly provide solution for this problem..

Rewrite the function to not use a refcursor which doesn’t seem to be a supported element in your framework.  Or, don’t use the framework.  Either way this doesn’t seem to meet the criteria for a bug report.  Posts like this should be direct to the -general list.

David J.