AceQL HTTP C# Client SDK v7.5.1

AceQLDataReader Members

The AceQLDataReader type exposes the following members.

Methods


  Name Description
Public method Close
Closes the AceQLDataReaderinstance. Same as call to AceQLDataReader.Dispose().
Public method Dispose()()()()
Releases all resources used by the current instance of the AceQLDataReader class. This is recommended in order to delete the local corresponding temporary files.
Public method GetBoolean
Gets the value of the specified column as a Boolean.
Public method GetByte
Gets the byte.
Public method GetBytes
Gets the bytes.
Public method GetChar
Gets the character.
Public method GetChars
Gets the chars.
Public method GetDataTypeName
Gets the name of the data type.
Public method GetDateTime
Gets the value of the specified column as a [DateTime].
Public method GetDecimal
Gets the value of the specified column as a Decimal.
Public method GetDouble
Gets the value of the specified column as a Double.
Public method GetFloat
Gets the value of the specified column as a float.
Public method GetInt16
Gets the value of the specified column as a 16-bit signed integer.
Public method GetInt32
Gets the value of the specified column as a 32-bit signed integer.
Public method GetInt64
Gets the value of the specified column as a 64-bit signed integer.
Public method GetName
Gets the name of the specified column.
Public method GetOrdinal
Gets the column ordinal, given the name of the column.
Public method GetStreamAsync(Int32, CancellationToken)
Downloads the Blob and gets the stream.

The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.

Public method GetStreamAsync(Int32)
Downloads the Blob and gets a reading [Stream].
Public method GetString
Gets the value of the specified column as a string.
Public method GetValue
Gets the value of the specified column in its native format.
Public method IsDBNull
Gets a value that indicates whether the column contains non-existent or missing values.
Public method Read
Advances the reader to the next record.
Public method ReadAsync
Advances the reader to the next record. Method is provided only for consistency: same method exists in SQLServer SqlDataReader class.

It's cleaner to use AceQLDataReader.Read() because data are read from a [TextReader] (all data are already downloaded when AceQLDataReader is created.)

Properties


  Name Description
Public property FieldCount
Gets the number of columns in the current row.
Public property HasRows
Gets a value that indicates whether the AceQLDataReader contains one or more rows.
Public property IsClosed
Retrieves a Boolean value that indicates whether the specified AceQLDataReader instance has been closed.
Public property Item[([( String])])
Gets the value for the specified name.
Public property Item[([( Int32])])
Gets the value for the specified ordinal.