The value returned by the generated domain method is meant to return the number of affected records. In your case I would suppose you need to map the stored procedure with ResultType: None (see the attached image).
You can access your return value with a overload of the domain method with an out parameter named returnValue, like the code below:
Using context =
You can see the above store procedure mapping in the attached sample project.
I hope this helps. Should you have any further questions do not hesitate to get back to us.
OpenAccess ORM is now Telerik Data Access
. For more information on the new names, please, check out the Telerik Product Map