AdgTable class | QSYS API Reference Guide

The AdgTable class supports DG infrastructure and is not intended to be used directly from your code.

Namespace: ASNA.DataGate.Client Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object

Constructors

Name Description
AdgTable(DataTable, AdgDataSet) Initializes a new instance of the class with a specified DataTable and parent AdgDataSet.

AdgTable(DataTable, AdgDataSet)

Initializes a new instance of the class with a specified DataTable and parent AdgDataSet.

AdgTable(DataTable, AdgDataSet)

Parameters

Type Parameter name Description
DataTable table The DataTable to be associated with this instance.
AdgDataSet parent The parent AdgDataSet to which this AdgTable belongs.

Properties

Type Name Description
DataTable DataTable Gets the DataTable associated with this instance of the AdgTable.
DataRow Row Gets the current active DataRow in the AdgTable.

Methods

Signature Description
SetRowDefaultValues(DataRow) Sets the default values for each column in the provided DataRow.

void SetRowDefaultValues(DataRow row)

Sets the default values for each column in the provided DataRow.

Remarks

This method iterates over each DataColumn in the DataRow’s table, and sets the value of the DataRow’s column to its default value.The default value is determined by the FieldType.GetColumnDefaultValue method, which is not shown in the provided code.An ArgumentNullException is thrown if the provided DataRow is null.

void SetRowDefaultValues(DataRow row)

Parameters

Type Parameter name Description
DataRow row The DataRow for which to set default values.