The SafeDataReader type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SafeDataReader |
Initializes the SafeDataReader object to use data from
the provided DataReader object.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the datareader.
| |
| Dispose()()()() |
Disposes the object.
| |
| Dispose(Boolean) |
Disposes the object.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Object finalizer.
(Overrides Object..::..Finalize()()()().) | |
| GetBoolean(Int32) |
Gets a boolean value from the datareader.
| |
| GetBoolean(String) |
Gets a boolean value from the datareader.
| |
| GetByte(Int32) |
Gets a byte value from the datareader.
| |
| GetByte(String) |
Gets a byte value from the datareader.
| |
| GetBytes(Int32, Int64, array<Byte>[]()[][], Int32, Int32) |
Invokes the GetBytes method of the underlying datareader.
| |
| GetBytes(String, Int64, array<Byte>[]()[][], Int32, Int32) |
Invokes the GetBytes method of the underlying datareader.
| |
| GetChar(Int32) |
Gets a char value from the datareader.
| |
| GetChar(String) |
Gets a char value from the datareader.
| |
| GetChars(Int32, Int64, array<Char>[]()[][], Int32, Int32) |
Invokes the GetChars method of the underlying datareader.
| |
| GetChars(String, Int64, array<Char>[]()[][], Int32, Int32) |
Invokes the GetChars method of the underlying datareader.
| |
| GetData(Int32) |
Invokes the GetData method of the underlying datareader.
| |
| GetData(String) |
Invokes the GetData method of the underlying datareader.
| |
| GetDataTypeName(Int32) |
Invokes the GetDataTypeName method of the underlying datareader.
| |
| GetDataTypeName(String) |
Invokes the GetDataTypeName method of the underlying datareader.
| |
| GetDateTime(Int32) |
Gets a date value from the datareader.
| |
| GetDateTime(String) |
Gets a date value from the datareader.
| |
| GetDecimal(Int32) |
Gets a decimal value from the datareader.
| |
| GetDecimal(String) |
Gets a decimal value from the datareader.
| |
| GetDouble(Int32) |
Gets a double from the datareader.
| |
| GetDouble(String) |
Gets a double from the datareader.
| |
| GetFieldType(Int32) |
Invokes the GetFieldType method of the underlying datareader.
| |
| GetFieldType(String) |
Invokes the GetFieldType method of the underlying datareader.
| |
| GetFloat(Int32) |
Gets a Single value from the datareader.
| |
| GetFloat(String) |
Gets a Single value from the datareader.
| |
| GetGuid(Int32) |
Gets a Guid value from the datareader.
| |
| GetGuid(String) |
Gets a Guid value from the datareader.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetInt16(Int32) |
Gets a Short value from the datareader.
| |
| GetInt16(String) |
Gets a Short value from the datareader.
| |
| GetInt32(Int32) |
Gets an integer from the datareader.
| |
| GetInt32(String) |
Gets an integer from the datareader.
| |
| GetInt64(Int32) |
Gets a Long value from the datareader.
| |
| GetInt64(String) |
Gets a Long value from the datareader.
| |
| GetName |
Invokes the GetName method of the underlying datareader.
| |
| GetOrdinal |
Gets an ordinal value from the datareader.
| |
| GetSchemaTable |
Invokes the GetSchemaTable method of the underlying datareader.
| |
| GetString(Int32) |
Gets a string value from the datareader.
| |
| GetString(String) |
Gets a string value from the datareader.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue(Int32) |
Gets a value of type Object from the datareader.
| |
| GetValue(String) |
Gets a value of type Object from the datareader.
| |
| GetValues |
Invokes the GetValues method of the underlying datareader.
| |
| IsDBNull(Int32) |
Invokes the IsDBNull method of the underlying datareader.
| |
| IsDBNull(String) |
Invokes the IsDBNull method of the underlying datareader.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NextResult |
Moves to the next result set in the datareader.
| |
| Read |
Reads the next row of data from the datareader.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| DataReader |
Get a reference to the underlying data reader
object that actually contains the data from
the data source.
| |
| Depth |
Returns the depth property value from the datareader.
| |
| FieldCount |
Returns the FieldCount property from the datareader.
| |
| IsClosed |
Returns the IsClosed property value from the datareader.
| |
| Item[([( Int32])]) |
Returns a value from the datareader.
| |
| Item[([( String])]) |
Returns a value from the datareader.
| |
| RecordsAffected |
Returns the RecordsAffected property value from the underlying datareader.
|