Class BulkActionDataReader
Inheritance
System.Object
System.MarshalByRefObject
System.Data.Common.DbDataReader
BulkActionDataReader
Assembly: Kros.Utils.dll
Syntax
public class BulkActionDataReader : DbDataReader, IDataReader, IDisposable, IDataRecord, IEnumerable
Constructors
BulkActionDataReader(IBulkActionDataReader)
Creates System.Data.IDataReader over defined reader
.
Declaration
public BulkActionDataReader(IBulkActionDataReader reader)
Parameters
Exceptions
Type |
Condition |
System.ArgumentNullException |
reader is null.
|
Properties
Depth
Declaration
public override int Depth { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
System.Data.Common.DbDataReader.Depth
FieldCount
Columns count of the data row.
Declaration
public override int FieldCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
System.Data.Common.DbDataReader.FieldCount
HasRows
Declaration
public override bool HasRows { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
System.Data.Common.DbDataReader.HasRows
IsClosed
Declaration
public override bool IsClosed { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
System.Data.Common.DbDataReader.IsClosed
Item[Int32]
Declaration
public override object this[int i] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Property Value
Type |
Description |
System.Object |
|
Overrides
System.Data.Common.DbDataReader.Item[System.Int32]
Item[String]
Declaration
public override object this[string name] { get; }
Parameters
Type |
Name |
Description |
System.String |
name |
|
Property Value
Type |
Description |
System.Object |
|
Overrides
System.Data.Common.DbDataReader.Item[System.String]
RecordsAffected
Declaration
public override int RecordsAffected { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
System.Data.Common.DbDataReader.RecordsAffected
Methods
Close()
Declaration
public override void Close()
Overrides
System.Data.Common.DbDataReader.Close()
GetBoolean(Int32)
Declaration
public override bool GetBoolean(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Data.Common.DbDataReader.GetBoolean(System.Int32)
GetByte(Int32)
Declaration
public override byte GetByte(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Byte |
|
Overrides
System.Data.Common.DbDataReader.GetByte(System.Int32)
GetBytes(Int32, Int64, Byte[], Int32, Int32)
Declaration
public override long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferoffset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
System.Int64 |
fieldOffset |
|
System.Byte[] |
buffer |
|
System.Int32 |
bufferoffset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Int64 |
|
Overrides
System.Data.Common.DbDataReader.GetBytes(System.Int32, System.Int64, System.Byte[], System.Int32, System.Int32)
GetDataTypeName(Int32)
Declaration
public override string GetDataTypeName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Overrides
System.Data.Common.DbDataReader.GetDataTypeName(System.Int32)
GetDateTime(Int32)
Declaration
public override DateTime GetDateTime(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.DateTime |
|
Overrides
System.Data.Common.DbDataReader.GetDateTime(System.Int32)
GetDecimal(Int32)
Declaration
public override decimal GetDecimal(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Decimal |
|
Overrides
System.Data.Common.DbDataReader.GetDecimal(System.Int32)
GetDouble(Int32)
Declaration
public override double GetDouble(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Double |
|
Overrides
System.Data.Common.DbDataReader.GetDouble(System.Int32)
GetEnumerator()
Declaration
public override IEnumerator GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Overrides
System.Data.Common.DbDataReader.GetEnumerator()
GetFieldType(Int32)
Declaration
public override Type GetFieldType(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Type |
|
Overrides
System.Data.Common.DbDataReader.GetFieldType(System.Int32)
GetFloat(Int32)
Declaration
public override float GetFloat(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Single |
|
Overrides
System.Data.Common.DbDataReader.GetFloat(System.Int32)
GetGuid(Int32)
Declaration
public override Guid GetGuid(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Guid |
|
Overrides
System.Data.Common.DbDataReader.GetGuid(System.Int32)
GetChar(Int32)
Declaration
public override char GetChar(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Char |
|
Overrides
System.Data.Common.DbDataReader.GetChar(System.Int32)
GetChars(Int32, Int64, Char[], Int32, Int32)
Declaration
public override long GetChars(int i, long fieldoffset, char[] buffer, int bufferoffset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
System.Int64 |
fieldoffset |
|
System.Char[] |
buffer |
|
System.Int32 |
bufferoffset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Int64 |
|
Overrides
System.Data.Common.DbDataReader.GetChars(System.Int32, System.Int64, System.Char[], System.Int32, System.Int32)
GetInt16(Int32)
Declaration
public override short GetInt16(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Int16 |
|
Overrides
System.Data.Common.DbDataReader.GetInt16(System.Int32)
GetInt32(Int32)
Declaration
public override int GetInt32(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Data.Common.DbDataReader.GetInt32(System.Int32)
GetInt64(Int32)
Declaration
public override long GetInt64(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Int64 |
|
Overrides
System.Data.Common.DbDataReader.GetInt64(System.Int32)
GetName(Int32)
Returns column name at index i
.
Declaration
public override string GetName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
Index of column.
|
Returns
Type |
Description |
System.String |
Column name.
|
Overrides
System.Data.Common.DbDataReader.GetName(System.Int32)
Exceptions
Type |
Condition |
System.IndexOutOfRangeException |
Defined index is not between 0 and FieldCount.
|
GetOrdinal(String)
Returns column index by its name name
.
Declaration
public override int GetOrdinal(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
Name of column.
|
Returns
Type |
Description |
System.Int32 |
Index of column.
|
Overrides
System.Data.Common.DbDataReader.GetOrdinal(System.String)
GetSchemaTable()
Declaration
public override DataTable GetSchemaTable()
Returns
Type |
Description |
System.Data.DataTable |
|
Overrides
System.Data.Common.DbDataReader.GetSchemaTable()
GetString(Int32)
Declaration
public override string GetString(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
Overrides
System.Data.Common.DbDataReader.GetString(System.Int32)
GetValue(Int32)
Declaration
public override object GetValue(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
Column index.
|
Returns
Type |
Description |
System.Object |
Object value of column.
|
Overrides
System.Data.Common.DbDataReader.GetValue(System.Int32)
Exceptions
Type |
Condition |
System.IndexOutOfRangeException |
Defined index is not between 0 and FieldCount.
|
GetValues(Object[])
Declaration
public override int GetValues(object[] values)
Parameters
Type |
Name |
Description |
System.Object[] |
values |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Data.Common.DbDataReader.GetValues(System.Object[])
IsDBNull(Int32)
Declaration
public override bool IsDBNull(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Data.Common.DbDataReader.IsDBNull(System.Int32)
NextResult()
Declaration
public override bool NextResult()
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Data.Common.DbDataReader.NextResult()
Read()
Moves reader to next record.
Declaration
public override bool Read()
Returns
Type |
Description |
System.Boolean |
true if next record exists and reader is moved,
false if there is no next record.
|
Overrides
System.Data.Common.DbDataReader.Read()