WO Constructor(DataRow,Boolean)
- Last UpdatedNov 06, 2025
- 1 minute read
The WO() method is the constructor used to instantiate a work order.
This overload of the method loads the work order specified by a previously retrieved DataRow from the database and, optionally, the work order's attribute data. This overload is useful when all work orders have already been retrieved from the database as a DataSet.
'Declaration
Public Function New( _
ByVal drWO As DataRow, _
ByVal loadAttributes As Boolean _
)
public WO(
DataRow drWO,
bool loadAttributes
)
Parameters
- drWO
- Required. Holds a DataRow that contains the required fields from the WO table.
- loadAttributes
- Required. Holds a flag that, if set to true, specifies that the work order's attributes should also be loaded.