This method gets all the column values as .NET types.
// C# public override int GetValues(object[ ] values);
An array of objects to hold the .NET types as the column values.
The number of objects in the
InvalidOperationException - The connection is closed, the reader is closed,
Read() has not been called, or all rows have been read.
This method provides a way to retrieve all column values rather than retrieving each column value individually.
The number of column values retrieved is the minimum of the length of the values array and the number of columns in the result set.