The DataHandler property gets an object to handle the exchange of data with the runtime system by using the IRtConnection interface.
Refer to the IRtConnection interface for more information on the methods and properties supported by DataHandler property.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
IRtConnection DataHandler { get; }
Using the IConnection Interface for the DataHandler Property
The following code shows an example of using the DataHandler property to transmit the data from a specific DataModel to the host application:
// Get an instance of the PROD DataModel PRODModel pModel = (PRODModel) ABSConnection.GetDataModelObject("PROD"); // Set the required attributes pModel._UserMAINT = "FIR"; // Perform the Transmit request to the host application. // The AccessLayer API returns a Transmission object containing // the data for the returned Ispec response from the host. TransmissionObject trObj = ABSConnection.DataHandler.Transmit(pModel);