Export (0) Print
Expand All

OracleDataReader Methods

The methods of the OracleDataReader class are listed here. For a complete list of OracleDataReader class members, see the OracleDataReader Members topic.

Public Methods

public methodClose Closes the OracleDataReader object.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose Frees resources before the OracleDataReader is reclaimed by the Garbage Collector.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetBoolean Gets the value of the specified column as a Boolean.
public methodGetByte Gets the value of the specified column as a byte.
public methodGetBytes Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
public methodGetChar Gets the value of the specified column as a character.
public methodGetChars Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.
public methodGetData Not currently supported.
public methodGetDataTypeName Gets the name of the source data type.
public methodGetDateTime Gets the value of the specified column as a DateTime object.
public methodGetDecimal Gets the value of the specified column as a Decimal object.
public methodGetDouble Gets the value of the specified column as a double-precision floating point number.
public methodGetFieldType Gets the Type that is the data type of the object.
public methodGetFloat Gets the value of the specified column as a single-precision floating-point number.
public methodGetGuid Gets the value of the specified column as a globally-unique identifier (GUID).
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetInt16 Gets the value of the specified column as a 16-bit signed integer.
public methodGetInt32 Gets the value of the specified column as a 32-bit signed integer.
public methodGetInt64 Gets the value of the specified column as a 64-bit signed integer.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetName Gets the name of the specified column.
public methodGetOracleBFile Gets the value of the specified column as an OracleBFile object.
public methodGetOracleBinary Gets the value of the specified column as an OracleBinary object.
public methodGetOracleDateTime Gets the value of the specified column as an OracleDateTime object.
public methodGetOracleLob Gets the value of the specified column as an OracleLob object.
public methodGetOracleMonthSpan Gets the value of the specified column as an OracleMonthSpan object.
public methodGetOracleNumber Gets the value of the specified column as an OracleNumber object.
public methodGetOracleString Gets the value of the specified column as an OracleString object.
public methodGetOracleTimeSpan Gets the value of the specified column as an OracleTimeSpan object.
public methodGetOracleValue Gets the value of the column at the specified ordinal in its Oracle format.
public methodGetOracleValues Gets all the attribute columns in the current row in Oracle format.
public methodGetOrdinal Gets the column ordinal, given the name of the column.
public methodGetSchemaTable Returns a DataTable that describes the column metadata of the OracleDataReader.
public methodGetString Gets the value of the specified column as a string.
public methodGetTimeSpan Gets the value of the specified column as a System.TimeSpan.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodGetValue Gets the value of the column at the specified ordinal in its native format.
public methodGetValues Gets all the attribute columns in the current row.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodIsDBNull Gets a value indicating whether the column contains non-existent or missing values.
public methodNextResult Advances the OracleDataReader to the next result
public methodRead Advances the OracleDataReader to the next record.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Explicit Interface Implementations

IEnumerable.GetEnumerator This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

See Also

OracleDataReader Class | System.Data.OracleClient Namespace

Show:
© 2014 Microsoft