Page 1 of 1

How to call an UDF in postgresql thru the DataContext

Posted: Wed 23 Apr 2014 22:20
by lc4pro
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.

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

Posted: Fri 25 Apr 2014 12:05
by MariiaI
Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.