Click or drag to resize
DataQueryBaseTQueryForEachRow Method
Executes the given action for each item (DataRow) in the result. Processes the items in batches of the given size.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public void ForEachRow(
	Action<DataRow> rowAction,
	int batchSize = -1
)

Parameters

rowAction
Type: SystemActionDataRow
Row action
batchSize (Optional)
Type: SystemInt32
Batch size. 0 means no batch processing. By default uses current paging settings.

Implements

IDataQueryForEachRow(ActionDataRow, Int32)
See Also