Dynamic Method Binding (.NET)

This is a Concept topic for Data Abstract for .NET
New page awaiting review
Please do not rely on the content. After review, the page will be indexed and may have its name changed.
If you have suggestions for this page, please send them to us: email.
Overview
Dynamic Method Binding technology allows you to connect your Data Abstract client to to any custom defined remote service methods by providing dynamic mappings between client calls and the server methods.
More details about Dynamic Method Binding technology you can find here.
Example
Suppose that, in order to read data from your service, you want to use a custom defined method called MyCustomGetDataMethod which takes two input parameters (DataTableNames of type string, and ParameterTwo of type Int32) and returns a Binary stream.
The RODL file included in your server would look somewhat similar to this:
In order for your client RemoteDataAdapter to invoke this method (instead of the default GetData), you will need to make use of Dynamic Method Binding and modify the value of its DataRequestCall's properties to point to this method.
The first thing you would do is query the remote service for all the available methods by opening the drop down associated with the DataRequestCall.MethodName:
After selecting the appropriate method, the IDE designers will update the parameters contained in the DataRequestCall.Parameters collection and inform you of that through a message similar to the following:
Now you can set the DataRequestCall.OutgoingTableNamesParameter and IncomingDataParameter to the appropriate values like show in the following screenshot:
Once these steps are complete, your RemoteDataAdapter is set up. Any subsequent calls to the Fill method will invoke your custom MyCustomGetDataMethod method on the server.
See Also
- RemoteDataAdapter, RemoteCommand, DynamicRequest classes
- Lists
- Namespace Lists for .NET — Java
- Interface Lists for .NET — Delphi — Java
- Protocol Lists for Xcode
- Class Lists for .NET — Xcode — Delphi — Java
- Object Lists for JavaScript
- Enum Lists for .NET — Xcode — Delphi — Java
- Alias Lists for Delphi
- Implements Lists for .NET — Xcode — Delphi — Java
- Data Types
- File Types

Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Xcode, Delphi, Java and JavaScript