How to call an UDF in postgresql thru the DataContext

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
lc4pro
Posts: 51
Joined: Thu 12 Jul 2012 08:16

How to call an UDF in postgresql thru the DataContext

Post by lc4pro » Wed 23 Apr 2014 22:20

I created an UDF in postgres to wrap a nextval( 'sequence_name' ).
When I update my model from database, the model gets actualized with the user function, this including the correct return value type.

But I don't know how to get the DataContext rewriten to include the method so I can call it from code.

TIA

04/24 Solved: was a misunderstanding regarding code generation. Now the method is in the DataContext.

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: How to call an UDF in postgresql thru the DataContext

Post by MariiaI » Fri 25 Apr 2014 12:05

Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.

Post Reply