DataReader Class

Spotfire 14.3 API Reference

Note: This API is now obsolete.

Provides reading of a forward-only stream of data rows.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.DataDataReader

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[ObsoleteAttribute("Use the Spotfire.Dxp.Data.DataRowReader instead.")]
public abstract class DataReader : IDisposable

The DataReader type exposes the following members.

Constructors

  NameDescription
Protected methodDataReader
Initializes a new instance of the DataReader class.
Top
Properties

  NameDescription
Public propertyColumnCount
Gets the column count.
Public propertyIsClosed
Gets a value indicating whether the data reader is closed.
Top
Methods

  NameDescription
Public methodClose
Closes the data reader.
Public methodStatic memberCreateReader(IDataReader)
Creates a DataReader from the given IDataReader.
Public methodStatic memberCreateReader(IDataReader, IListDataColumnProperties)
Creates a DataReader from the given IDataReader.
Protected methodCode exampleDispose
Call when the caller is finished using the data reader.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the DataReader is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodGetColumnProperties
Gets the properties for the specified column.
Public methodGetDataType
Gets the data type of specified column.
Public methodGetDateTime
Gets the date and time value of the specified column.
Public methodGetDecimal
Gets the fixed-position numeric value of the specified column.
Public methodGetDouble
Gets the double-precision floating point number of the specified column.
Public methodGetError
Gets the error string of an invalid value in the specified column.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Gets the 32-bit signed integer value of the specified column.
Public methodGetName
Gets the name of the specified column.
Public methodGetOrdinal
Return the index of the named column.
Public methodGetString
Gets the string value of the specified column.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsInvalid
Return whether value in the specified column is invalid or set to null.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Advances the DataReader to the next row.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIDisposableDispose
Dispose method.
Top
Version Information

Obsolete (compiler warning) in 14.3
Obsolete (compiler warning) in 14.2
Obsolete (compiler warning) in 14.1
Obsolete (compiler warning) in 14.0
Obsolete (compiler warning) in 12.5
Obsolete (compiler warning) in 12.4
Obsolete (compiler warning) in 12.3
Obsolete (compiler warning) in 12.2
Obsolete (compiler warning) in 12.1
Obsolete (compiler warning) in 12.0
Obsolete (compiler warning) in 11.8
See Also

Reference