Defining the schema for an ABL temp-table (TABLE or TABLE-HANDLE) parameter is a multi-step process.

To define the schema for a temp-table parameter:

  1. If the parameter is for input or input-output, define an ADO.NET DataTable to hold the parameter value.
  2. Define a TempTableMetaData object to hold the parameter schema.
  3. Add field descriptions to the TempTableMetaData object.
  4. Add the TempTableMetaData object and the DataTable (if applicable) as a temp-table parameter to your ParamArray object using the appropriate set parameter method.