How to call an UDF in postgresql thru the DataContext
Posted: 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.
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.