Reader Class

Base class for the data reader.
Inheritance Hierarchy

Namespace:  Dundas.BI.Data.DataProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public abstract class Reader : IReader, 
	IDisposable, IDataWarnings

The Reader type exposes the following members.

Constructors
  NameDescription
Protected methodReader
Initializes a new instance of the Reader class.
Top
Properties
  NameDescription
Protected propertyCommandBehavior
Gets the command behavior.
Protected propertyCommandTimeout
Gets the wait time before terminating the attempt to execute a command and generating an error.
Public propertyHasWarnings
Gets a value indicating whether this instance,or one of its dependencies, has warnings.
Public propertyItem
Gets the element value located at the specified index.
Public propertySchema
Gets the column metadata of the reader.
Public propertyWarnings
Gets the warnings for the current instance, as well as for any dependency objects.
Top
Methods
  NameDescription
Public methodAddWarning
Adds the warning to the current instance internal list.
Public methodCancel
Cancels the execution of the reader.
Protected methodConvertValue
Converts the string value according to the column definition.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and (optionally) managed resources.
Public methodFieldValueOrDefaultT
Gets the field value or default(), if the value is DBNull.
Protected methodFinalize
Finalizes an instance of the Reader class.
(Overrides ObjectFinalize.)
Public methodRead
Advances the reader to the next record.
Top
See Also