Dynamic Method Binding

Dynamic Method Binding is one of the major foundations of Data Abstract's architecture. It allows you to connect your Data Abstract client to any custom defined remote service method rather than limiting you to the use of the pre-defined interface.

While the predefined IDataAbstractService1 is sufficient for most standard database applications, Dynamic Method Binding provides the flexibility to handle advanced scenarios where you need to implement and use your custom Data Abstract interfaces.

Dynamic Method Binding is implemented on the client side inside the RemoteDataAdapter2 and RemoteCommand components using descendants of the DynamicRequest, providing properties that allow you to dynamically specify the method calls for fetching and updating data, retrieving schemas or executing commands.

The RemoteDataAdapter has three properties for mapping Dynamic Method Binding calls:

  • DataRequestCall - used by the Fill method.
  • DataUpdateCall - used by Update.
  • SchemaCall - used by ReadSchema and FillSchema.

The RemoteCommand has one property:

  • ExecuteCall - used when calling Execute.

In addition to the standard properties of the DynamicRequest class, these calls contain call-specific properties to specify the parameters used for passing the list of tables, the name of the command to execute, or the the parameter that will contain the returned data.

More in depth platform specific information on how to use Dynamic Method Binding can be found on the following pages:

Footnotes


  1. IDataAbstractService:
    Net
    • Delphi
    • Cocoa
    Java  

  2. RemoteDataAdapter:
    Net
    • Delphi
    • Cocoa
    Java