Generating DataSnap Server Method Proxies
Go Up to Developing DataSnap Applications
Proxy DataSnap classes are needed in client applications to invoke server methods. In order to generate the server methods, drop a TSQLConnection in a form and connect to a running DataSnap server in design mode. Right click the TSQLConnection component and select Generate DataSnap Client Classes. The proxy unit is added to the current project and each exposed method can be used to invoke the corresponding server method.
If server method signature changes or methods are added or removed, the same option will refresh the proxy unit.