Partager via


RDS Programming Model with Objects

The goal of RDS is to gain access to and update data sources through an intermediary such as IIS. The programming model specifies the sequence of activities necessary to accomplish this goal. The object model specifies the objects whose methods and properties affect the programming model.

RDS provides the means to perform the following sequence of actions:

  • Specify the program to be invoked on the server, and obtain a way (proxy) to refer to it from the client (RDS.DataSpace).
  • Invoke the server program. Pass parameters to the server program that identifies the data source and the command to issue (proxy or RDS.DataControl).
  • The server program obtains a Recordset object from the data source, typically by using ADO. Optionally, the Recordset object is processed on the server (RDSServer.DataFactory).
  • The server program returns the final Recordset object to the client application (proxy).
  • On the client, the Recordset object is put into a form that can be easily used by visual controls (visual control and RDS.DataControl).
  • Changes to the Recordset object are sent back to the server and used to update the data source (RDS.DataControl or RDSServer.DataFactory).

See Also

RDS Object Model Summary | DataControl Object (RDS) | DataFactory Object (RDSServer) | DataSpace Object (RDS) | RDS Scenario | RDS Tutorial | Recordset Object | Using RDS