Click or drag to resize

ICommenceCursorReadAllRows Method

Read all data from a cursor.

This method is just a convenient way to return data without having to create a ICommenceQueryRowSet.

Keep in mind reading data from Commence is quite slow!

For more advanced reading and export options see IExportEngine.

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
List<List<string>> ReadAllRows(
	int batchRows = 1000
)

Parameters

batchRows (Optional)
Type: SystemInt32
Number of rows to read per iteration.

Return Value

Type: ListListString
List of lists containing commence rowvalues, null on error.
Remarks
This method is not available to COM clients.

If the cursor has the UseThids flag defined, the first element of the inner list will contain the thid. In that case the inner list count will be the number of columns in the category plus one.

See Also