This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, LightSpeed model is connected with MS SqlServer 2008 and has a link to a Stored procedure which has some parameters and a return value like this:
When I invoke this procedure, I don't get the return value.
There ret is always equal -1. How can I get the return value and out parameters too? |
|
|
Are you using a scalar procedure for this? If so this should be generating a return value parameter in the generated code (you can check this by opening your generated code file and looking for the procedure definition underneath your typed UnitOfWork declaration. You can alternatively implement this manually on a partial class definition for your typed UnitOfWork. Here is an example of what you would want:
|
|
|
Thank you! You right. |
|