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).
Namespace: CMS.DataEngine.Internal
public class ExtendedDbDataReader : DbDataReader
The ExtendedDbDataReader type exposes the following members.
Name | Description | |
---|---|---|
![]() | ExtendedDbDataReader |
Initializes a new instance of the ExtendedDbDataReader class.
|
Name | Description | |
---|---|---|
![]() | Depth | Gets a value indicating the depth of nesting for the current row. (Overrides DbDataReaderDepth.) |
![]() | FieldCount | Gets the number of columns in the current row. (Overrides DbDataReaderFieldCount.) |
![]() | HasRows | Gets a value that indicates whether this DbDataReader contains one or more rows. (Overrides DbDataReaderHasRows.) |
![]() | IsClosed | Gets a value indicating whether the DbDataReader is closed. (Overrides DbDataReaderIsClosed.) |
![]() | ItemInt32 | Gets the value of the specified column as an instance of Object. (Overrides DbDataReaderItemInt32.) |
![]() | ItemString | Gets the value of the specified column as an instance of Object. (Overrides DbDataReaderItemString.) |
![]() | RecordsAffected | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. (Overrides DbDataReaderRecordsAffected.) |
Name | Description | |
---|---|---|
![]() | Dispose | Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources. (Overrides DbDataReaderDispose(Boolean).) |
![]() | GetBoolean | Gets the value of the specified column as a Boolean. (Overrides DbDataReaderGetBoolean(Int32).) |
![]() | GetByte | Gets the value of the specified column as a byte. (Overrides DbDataReaderGetByte(Int32).) |
![]() | GetBytes | 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).) |
![]() | GetChar | Gets the value of the specified column as a single character. (Overrides DbDataReaderGetChar(Int32).) |
![]() | GetChars | 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).) |
![]() | GetDataTypeName | Gets name of the data type of the specified column. (Overrides DbDataReaderGetDataTypeName(Int32).) |
![]() | GetDateTime | Gets the value of the specified column as a DateTime object. (Overrides DbDataReaderGetDateTime(Int32).) |
![]() | GetDecimal | Gets the value of the specified column as a Decimal object. (Overrides DbDataReaderGetDecimal(Int32).) |
![]() | GetDouble | Gets the value of the specified column as a double-precision floating point number. (Overrides DbDataReaderGetDouble(Int32).) |
![]() | GetEnumerator | Returns an IEnumerator that can be used to iterate through the rows in the data reader. (Overrides DbDataReader.GetEnumerator.) |
![]() | GetFieldType | Gets the data type of the specified column. (Overrides DbDataReaderGetFieldType(Int32).) |
![]() | GetFloat | Gets the value of the specified column as a single-precision floating point number. (Overrides DbDataReaderGetFloat(Int32).) |
![]() | GetGuid | Gets the value of the specified column as a globally-unique identifier (GUID). (Overrides DbDataReaderGetGuid(Int32).) |
![]() | GetInt16 | Gets the value of the specified column as a 16-bit signed integer. (Overrides DbDataReaderGetInt16(Int32).) |
![]() | GetInt32 | Gets the value of the specified column as a 32-bit signed integer. (Overrides DbDataReaderGetInt32(Int32).) |
![]() | GetInt64 | Gets the value of the specified column as a 64-bit signed integer. (Overrides DbDataReaderGetInt64(Int32).) |
![]() | GetName | Gets the name of the column, given the zero-based column ordinal. (Overrides DbDataReaderGetName(Int32).) |
![]() | GetOrdinal | Gets the column ordinal given the name of the column. (Overrides DbDataReaderGetOrdinal(String).) |
![]() | GetString | Gets the value of the specified column as an instance of String. (Overrides DbDataReaderGetString(Int32).) |
![]() | GetValue | Gets the value of the specified column as an instance of Object. (Overrides DbDataReaderGetValue(Int32).) |
![]() | GetValues | Populates an array of objects with the column values of the current row. (Overrides DbDataReaderGetValues(Object).) |
![]() | IsDBNull | Gets a value that indicates whether the column contains nonexistent or missing values. (Overrides DbDataReaderIsDBNull(Int32).) |
![]() | NextResult | Advances the reader to the next result when reading the results of a batch of statements. (Overrides DbDataReaderNextResult.) |
![]() | Read | Advances the reader to the next record in a result set. (Overrides DbDataReaderRead.) |