Sets of parameters are passed to methods of the eCTSsession class as name-value pairs using .NET collection classes. Session parameters have unique key names, and are passed via the Hashtable class. Transaction parameters can have more than one value per key name, and so are passed via the NameValueCollection class. The following is an example that passes both session and transaction parameters:
An ADO.NET DataTable object can be used both as input to and a result from eCTSsession methods. By definition, ADO.NET DataSets are disconnected from a data source. This means that they are not actively connected to the source database, so any updates made to a DataTable within a DataSet are not directly reflected in the source database. However, a DataTable returned by an eCTSsession object can be modified and passed back to TIBCO Object Service Broker by another eCTSsession method call.