مشاركة عبر


BusinessLogicDataReader Class

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Represents a business logic data reader.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicDataReader

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public Class BusinessLogicDataReader _
    Implements IDataReader, IDisposable, IDataRecord
'Usage
Dim instance As BusinessLogicDataReader
public class BusinessLogicDataReader : IDataReader, 
    IDisposable, IDataRecord
public ref class BusinessLogicDataReader : IDataReader, 
    IDisposable, IDataRecord
type BusinessLogicDataReader =  
    class 
        interface IDataReader 
        interface IDisposable 
        interface IDataRecord 
    end
public class BusinessLogicDataReader implements IDataReader, IDisposable, IDataRecord

The BusinessLogicDataReader type exposes the following members.

Constructors

  Name Description
Public method BusinessLogicDataReader Initializes a new instance of the BusinessLogicDataReader class.

Top

Properties

  Name Description
Public property Depth Gets a value indicating the depth of nesting for the current row.
Public property FieldCount Gets the number of columns in the current row.
Public property IsClosed Gets a value that indicates whether the BusinessLogicDataReader is closed.
Public property Item[Int32] Gets the value of the specified column.
Public property Item[String] Gets the value of the specified column.
Public property RecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the statement.

Top

Methods

  Name Description
Public method Close Closes the BusinessLogicDataReader object.
Public method Dispose Releases all resources used by the current instance of the BusinessLogicDataReaderclass.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBoolean Gets the value of the specified column as a Boolean.
Public method GetByte Gets the value of the specified column as a byte.
Public method GetBytes Reads a stream of bytes from the specified column.
Public method GetChar Gets the value of the specified column as a single character.
Public method GetChars Reads a stream of characters from the specified column.
Public method GetData Reads a BusinessLogicDataReader for the requested column ordinal.
Public method GetDataTypeName Gets name of the data type of the specified column.
Public method GetDateTime Gets the value of the specified column as a DateTime object.
Public method GetDecimal Gets the value of the specified column as a Decimal object.
Public method GetDouble Gets the value of the specified column as a double-precision floating point number.
Public method GetFieldType Gets the data type of the specified column.
Public method GetFloat Gets the value of the specified column as a single-precision floating point number.
Public method GetGuid Gets the value of the specified column as a globally-unique identifier (GUID).
Public method GetHashCode (Inherited from Object.)
Public method GetInt16 Gets the value of the specified column as a 16-bit signed integer.
Public method GetInt32 Gets the value of the specified column as a 32-bit signed integer.
Public method GetInt64 Gets the value of the specified column as a 64-bit signed integer.
Public method GetName Gets the name of the column.
Public method GetOrdinal Gets the column ordinal given the name of the column.
Public method GetSchemaTable Returns a DataTable that describes the column metadata.
Public method GetString Gets the value of the specified column as an instance of String.
Public method GetType (Inherited from Object.)
Public method GetValue Gets the value of the specified column as an instance of Object.
Public method GetValues Populates an array of objects with the column values of the current row.
Public method IsDBNull Indicates whether the column contains nonexistent or missing values.
Protected method MemberwiseClone (Inherited from Object.)
Public method NextResult Advances the reader to the next result when reading the results of a batch of statements.
Public method Read Advances the reader to the next record in a result set.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace