 | 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
SyntaxList<List<string>> ReadAllRows(
int batchRows = 1000
)
Function ReadAllRows (
Optional batchRows As Integer = 1000
) As List(Of List(Of String))
Parameters
- batchRows (Optional)
- Type: SystemInt32
Number of rows to read per iteration.
Return Value
Type:
ListListStringList of lists containing commence rowvalues,
null on error.
RemarksThis 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