Try OpenEdge Now
skip to main content
.NET Open Clients
Passing Parameters : ABL temp-table to ADO.NET DataTable mappings : Mapping temp-table component attributes : Temp-table and buffer attribute mappings
 
Temp-table and buffer attribute mappings
The following table lists ABL attributes of a temp-table parameter and its buffer (or of a temp-table that is part of a ProDataSet parameter) and how they map to the corresponding ADO.NET DataTable passed in a .NET Open Client.
Table 8. Mapping ABL temp-table and buffer attributes to ADO.NET
ABL temp-table or buffer attribute
ADO.NET mapping
Description
BEFORE-TABLE
Progress.Open4GL.ProDataTable
.GetBImageFlag
  (System.Data.DataTable dt)
Progress.Open4GL.ProDataTable
.SetBImageFlag
  (System.Data.DataTable dt,
   bool flag)
For the ADO.NET DataTable specified by dt, these static methods get or set an indication of whether the DataTable corresponds to an ABL temp-table that has a before-table defined for it on the AppServer using the BEFORE-TABLE option (or attribute). For more information, see Before-imagemethods.
DATA-SOURCE-MODIFED
Progress.Open4GL.ProDataTable
.GetDataSourceModified
  (System.Data.DataTable dt)
For the ADO.NET DataTable specified by dt, this static method returns an indication whether any data source row is modified from the original temp-table values passed from the AppServer as part of a ProDataSet. For more information, see GetDataSourceModified( ).
ERROR-STRING
Progress.Open4GL.ProDataTable
.GetErrorString
  (System.Data.DataTable dt)
Progress.Open4GL.ProDataTable
.SetErrorString
  (System.Data.DataTable dt,
   string newValue)
System.Data.DataRow.RowError
For the ADO.NET DataTable specified by dt, these static methods get or set the value of the corresponding temp-table ERROR-STRING attribute. For more information, see Errorhandling methods.The RowError property gets or sets the ERROR-STRING attribute on the corresponding temp-table buffer (row value).
NAME
System.Data.DataTable.TableName
Gets or sets the name of the corresponding temp-table.
NAMESPACE-PREFIX
System.Data.DataTable.Prefix
Gets or sets the XML namespace prefix on the specified ADO.NET DataTable for the corresponding ABL temp-table.
NAMESPACE-URI
System.Data.DataTable.Namespace
Gets or sets the XML namespace on the specified ADO.NET DataTable for the corresponding ABL temp-table.
PRIMARY
System.Data.UniqueConstraint
System.Data.DataTable.PrimaryKey
The DataTable.PrimaryKey maps to the corresponding temp-table's primary index. It contains an array of DataColmun objects that compose the primary key. This same array of columns is contained in the DataTable.Constraints collections as a UniqueConstraint object, where the UniqueConstraint.isPrimary property is true.
REJECTED
Progress.Open4GL.ProDataTable
.GetRejected
  (System.Data.DataTable dt)
For the ADO.NET DataTable specified by dt, this static method returns an indication of whether any changes from the corresponding temp-table values in the original ProDataSet were rejected on the AppServer. For more information, see GetRejected( ).
ROW-STATE
System.Data.DataRow.RowState
Returns the current change state of the corresponding row (buffer) of a temp-table in a ProDataSest parameter.
UNDO
Progress.Open4GL.ProDataTable
.GetUndo
  (System.Data.DataTable dt)
For the ADO.NET DataTable specified by dt, this static method returns an indication of whether the corresponding temp-table is defined as UNDO on the AppServer. For more information, see GetUndo( ).