Click or drag to resize
ExtendedDbDataReader Class

Marking wrapper for DbDataReader. Replaces the function of the IsFromCMSDatabase(DataTable, Boolean) method and TABLE_IS_FROM_CMS_DB in DataTable's extended properties.

The TrackExternalData(DataTable) and TABLE_CONTAINS_EXTERNAL_DATA members do not need a replacement as data reader does not allow for modification of its values (unlike DataTable).

Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.Data.CommonDbDataReader
      CMS.DataEngine.InternalExtendedDbDataReader

Namespace: CMS.DataEngine.Internal
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public class ExtendedDbDataReader : DbDataReader

The ExtendedDbDataReader type exposes the following members.

Constructors
  NameDescription
Public methodExtendedDbDataReader
Initializes a new instance of the ExtendedDbDataReader class.
Top
Properties
  NameDescription
Public propertyDepth
Gets a value indicating the depth of nesting for the current row.
(Overrides DbDataReaderDepth.)
Public propertyFieldCount
Gets the number of columns in the current row.
(Overrides DbDataReaderFieldCount.)
Public propertyHasRows
Gets a value that indicates whether this DbDataReader contains one or more rows.
(Overrides DbDataReaderHasRows.)
Public propertyIsClosed
Gets a value indicating whether the DbDataReader is closed.
(Overrides DbDataReaderIsClosed.)
Public propertyItemInt32
Gets the value of the specified column as an instance of Object.
(Overrides DbDataReaderItemInt32.)
Public propertyItemString
Gets the value of the specified column as an instance of Object.
(Overrides DbDataReaderItemString.)
Public propertyRecordsAffected
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
(Overrides DbDataReaderRecordsAffected.)
Top
Methods
  NameDescription
Protected methodDispose
Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources.
(Overrides DbDataReaderDispose(Boolean).)
Public methodGetBoolean
Gets the value of the specified column as a Boolean.
(Overrides DbDataReaderGetBoolean(Int32).)
Public methodGetByte
Gets the value of the specified column as a byte.
(Overrides DbDataReaderGetByte(Int32).)
Public methodGetBytes
Reads a stream of bytes from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
(Overrides DbDataReaderGetBytes(Int32, Int64, Byte, Int32, Int32).)
Public methodGetChar
Gets the value of the specified column as a single character.
(Overrides DbDataReaderGetChar(Int32).)
Public methodGetChars
Reads a stream of characters from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
(Overrides DbDataReaderGetChars(Int32, Int64, Char, Int32, Int32).)
Public methodGetDataTypeName
Gets name of the data type of the specified column.
(Overrides DbDataReaderGetDataTypeName(Int32).)
Public methodGetDateTime
Gets the value of the specified column as a DateTime object.
(Overrides DbDataReaderGetDateTime(Int32).)
Public methodGetDecimal
Gets the value of the specified column as a Decimal object.
(Overrides DbDataReaderGetDecimal(Int32).)
Public methodGetDouble
Gets the value of the specified column as a double-precision floating point number.
(Overrides DbDataReaderGetDouble(Int32).)
Public methodGetEnumerator
Returns an IEnumerator that can be used to iterate through the rows in the data reader.
(Overrides DbDataReader.GetEnumerator.)
Public methodGetFieldType
Gets the data type of the specified column.
(Overrides DbDataReaderGetFieldType(Int32).)
Public methodGetFloat
Gets the value of the specified column as a single-precision floating point number.
(Overrides DbDataReaderGetFloat(Int32).)
Public methodGetGuid
Gets the value of the specified column as a globally-unique identifier (GUID).
(Overrides DbDataReaderGetGuid(Int32).)
Public methodGetInt16
Gets the value of the specified column as a 16-bit signed integer.
(Overrides DbDataReaderGetInt16(Int32).)
Public methodGetInt32
Gets the value of the specified column as a 32-bit signed integer.
(Overrides DbDataReaderGetInt32(Int32).)
Public methodGetInt64
Gets the value of the specified column as a 64-bit signed integer.
(Overrides DbDataReaderGetInt64(Int32).)
Public methodGetName
Gets the name of the column, given the zero-based column ordinal.
(Overrides DbDataReaderGetName(Int32).)
Public methodGetOrdinal
Gets the column ordinal given the name of the column.
(Overrides DbDataReaderGetOrdinal(String).)
Public methodGetString
Gets the value of the specified column as an instance of String.
(Overrides DbDataReaderGetString(Int32).)
Public methodGetValue
Gets the value of the specified column as an instance of Object.
(Overrides DbDataReaderGetValue(Int32).)
Public methodGetValues
Populates an array of objects with the column values of the current row.
(Overrides DbDataReaderGetValues(Object).)
Public methodIsDBNull
Gets a value that indicates whether the column contains nonexistent or missing values.
(Overrides DbDataReaderIsDBNull(Int32).)
Public methodNextResult
Advances the reader to the next result when reading the results of a batch of statements.
(Overrides DbDataReaderNextResult.)
Public methodRead
Advances the reader to the next record in a result set.
(Overrides DbDataReaderRead.)
Top
See Also