NEW3.04.04 · Released 9 June 2022
NEWfinPOWER Connect
Released in
3.04.04
9 June 2022
- Opened31 Mar
- Closed4 Apr
- Released9 Jun
Article 19132
Job J028545
ISSelectQueryBuilder.ExecuteDataReader obsoleted; use ExecuteDisconnectedDataReader from scripts instead
The ISSelectQueryBuilder.ExecuteDataReader function has been obsoleted - instead use the ExecuteDisconnectedDataReader function.
This makes it easier for C# scripts to use as optional by reference parameters make coding more complex.
For example:
int RowCount = 0;// Using the old function requires all parameters to be specified and the by reference RowCount parameter must be definedif (sqb.ExecuteDataReader(ref dr, false, ref RowCount, -1)) {}// New functionsif (sqb.ExecuteDisconnectedDataReader(ref dr)) {}// New function also returning a count of Rowsif (sqb.ExecuteDisconnectedDataReader(ref dr, ref RowCount)) {}