WstDataReader Members

[This is internal Microsoft documentation - Do not distribute.]

The WstDataReader is created by invoking the WstCommand.ExecuteReader() method. The WstDataReader class is a thin wrapper over the SqlDataReader resultset. The WstDataReader may contain multiple SqlDataReader resultsets if the WstCommand executed on multiple partitions and/or replicas

The following tables list the members exposed by the WstDataReader type.

Public Properties

  Name Description
Depth Gets a value indicating the depth of nesting for the current row.
FieldCount Gets the number of columns in the current row
HasRows Gets a value indicating whether the SqlDataReader contains one or more rows.
IsClosed Gets a value indicating whether the data reader is closed
Item Overloaded.  
RecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the Transact-SQL statement.

Top

Public Methods

(see also Protected Methods )

  Name Description
Close Closes the WstDataReader object.
CreateObjRef  (inherited from MarshalByRefObject )
Equals  Overloaded. (inherited from Object )
GetBoolean Gets the value of the specified column as a Boolean.
GetByte Gets the value of the specified column as a Byte.
GetBytes Inherited from IDataRecord. Pass through to the current SqlDataReader
GetChar Gets the value of the specified column as a single character.
GetChars Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
GetDataTypeName Gets the name of the source data type.
GetDateTime Gets the value of the specified column as a DateTime object.
GetDecimal Gets the value of the specified column as a Decimal object.
GetDouble Gets the value of the specified column as a double-precision floating point number.
GetFieldType Gets the Type that is the data type of the object.
GetFloat Gets the value of the specified column as a single-precision floating point number.
GetGuid Gets the value of the specified column as a globally-unique identifier (GUID).
GetHashCode  (inherited from Object )
GetInt16 Gets the value of the specified column as a 16-bit signed integer.
GetInt32 Gets the value of the specified column as a 32-bit signed integer.
GetInt64 Gets the value of the specified column as a 64-bit signed integer.
GetLifetimeService  (inherited from MarshalByRefObject )
GetName IGets the name of the specified column.
GetOrdinal Gets the column ordinal, given the name of the column.
GetSchemaTable Returns a DataTable that describes the column metadata of the SqlDataReader
GetSqlBinary GetSqlBinary Gets the value of the specified column as a SqlBinary.
GetSqlBoolean GetSqlBoolean Gets the value of the specified column as a SqlBoolean.
GetSqlByte GetSqlByte Gets the value of the specified column as a SqlByte.
GetSqlDateTime GetSqlDateTime Gets the value of the specified column as a SqlDateTime.
GetSqlDecimal GetSqlDecimal Gets the value of the specified column as a SqlDecimal.
GetSqlDouble GetSqlDouble Gets the value of the specified column as a SqlDouble.
GetSqlGuid GetSqlGuid Gets the value of the specified column as a SqlGuid.
GetSqlInt16 GetSqlInt16 Gets the value of the specified column as a SqlInt16.
GetSqlInt32 GetSqlInt32 Gets the value of the specified column as a SqlInt32.
GetSqlInt64 GetSqlInt64 Gets the value of the specified column as a SqlInt64.
GetSqlMoney GetSqlMoney Gets the value of the specified column as a SqlMoney.
GetSqlSingle GetSqlSingle Gets the value of the specified column as a SqlSingle.
GetSqlString GetSqlString Gets the value of the specified column as a SqlString.
GetSqlValue GetSqlValue Gets an Object that is a representation of the underlying SqlDbType Variant.
GetSqlValues GetSqlValues Gets all the attribute columns in the current row.
GetString Gets the value of the specified column as a string.
GetType  (inherited from Object )
GetValue Gets the value of the specified column in its native format.
GetValues Gets all attribute columns in the collection for the current row.
InitializeLifetimeService  (inherited from MarshalByRefObject )
IsDBNull Gets a value indicating whether the column contains non-existent or missing values.
NextResult Advances the data reader to the next result, when reading the results of batch Transact-SQL statements.
Read Advances the SqlDataReader to the next record.
ReferenceEquals  (inherited from Object )
ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Finalize  (inherited from Object )
MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

Top

Explicit Interface Implementations

  Name Description
System.Collections.IEnumerable.GetEnumerator This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
System.Data.IDataRecord.GetData This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
System.IDisposable.Dispose Implements the IDisposable.Dispose() method.

Top

See Also

Reference

WstDataReader Class
Microsoft.Webstore.WstClient Namespace