skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Exchanging data : Passing data in and out of OpenAccess SDK SQL Engine
 

Passing data in and out of OpenAccess SDK SQL Engine

When more than one item or a complex data type must be returned, the OpenAccess SDK SQL Engine interface uses .NET objects that are created by the IP and passed into the OpenAccess SDK SQL Engine methods. For example, if a method has a return value and another string output value, then the method would look like:
int getData(StringBuilder sData )
When strings are used, the IP code must declare objects of type StringBuilder and pass these into the NDAM method so that it can update the value. Dates are handled using the class DateTime, which has members to handle year, month, day and time.