I am sorry for the inconvenience you experience.
In general, your query you observe is the executed one and it is part of the schema retrieval process used by Telerik Data Access, and for stored procedures it is executed in schema-read mode. In other words, when such a query is executed like this, the procedure will not actually use the values and return a result. Rather than that, it will only return its result shape.
Regarding the generation of the domain method on your side, could you share the following information:
1. Does Domain Method Editor notify you about an "Unable to retrieve the result shape" error when you attempt to retrieve the result shape?
2. Do the stored procedures in the database utilize temporary tables?
Thank you in advance for your cooperation. I am looking forward to your feedback.
OpenAccess ORM is now Telerik Data Access
. For more information on the new names, please, check out the Telerik Product Map