Issue

On Designer, when editing a SmartObject method, the return property's "bound to" mapping will disappear. No matter how many times you configure it, the next time you edit the SmartObject method again, it will disappear.

Image

If you saved your SmartObject after that, you will notice that the method no longer returns that property when you attempt to execute it.

Symptoms

  • This seems to affect the method that is referenced from the stored procedure.
  • The stored procedure uses parameters with the same name as one of its return properties. For example, your stored procedure returns a property called ID, and you have a parameter named @ID.

Resolution

To resolve this, you have to avoid using the same name for property and parameter in the stored procedure. Update your stored procedure with a different parameter name, refresh your SQL service instance, delete, then recreate the method in your SmartObject.