Skip to main content

ProfiledDbDataReader

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class ProfiledDbDataReader : DbDataReader, IDataReader, IDisposable, IDataRecord, IEnumerable

Properties

Depth

View Source
Declaration
public override int Depth { get; }

FieldCount

View Source
Declaration
public override int FieldCount { get; }

HasRows

View Source
Declaration
public override bool HasRows { get; }

IsClosed

View Source
Declaration
public override bool IsClosed { get; }

RecordsAffected

View Source
Declaration
public override int RecordsAffected { get; }

Item[String]

View Source
Declaration
public override object this[string name] { get; }

Item[Int32]

View Source
Declaration
public override object this[int ordinal] { get; }

Methods

Close()

View Source
Declaration
public override void Close()

GetBoolean(Int32)

View Source
Declaration
public override bool GetBoolean(int ordinal)
Returns

System.Boolean

Parameters
TypeName
System.Int32ordinal

GetByte(Int32)

View Source
Declaration
public override byte GetByte(int ordinal)
Returns

System.Byte

Parameters
TypeName
System.Int32ordinal

GetBytes(Int32, Int64, Byte[], Int32, Int32)

View Source
Declaration
public override long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length)
Returns

System.Int64

Parameters
TypeName
System.Int32ordinal
System.Int64dataOffset
System.Byte[]buffer
System.Int32bufferOffset
System.Int32length

GetChar(Int32)

View Source
Declaration
public override char GetChar(int ordinal)
Returns

System.Char

Parameters
TypeName
System.Int32ordinal

GetChars(Int32, Int64, Char[], Int32, Int32)

View Source
Declaration
public override long GetChars(int ordinal, long dataOffset, char[] buffer, int bufferOffset, int length)
Returns

System.Int64

Parameters
TypeName
System.Int32ordinal
System.Int64dataOffset
System.Char[]buffer
System.Int32bufferOffset
System.Int32length

GetDataTypeName(Int32)

View Source
Declaration
public override string GetDataTypeName(int ordinal)
Returns

System.String

Parameters
TypeName
System.Int32ordinal

GetDateTime(Int32)

View Source
Declaration
public override DateTime GetDateTime(int ordinal)
Returns

System.DateTime

Parameters
TypeName
System.Int32ordinal

GetDecimal(Int32)

View Source
Declaration
public override decimal GetDecimal(int ordinal)
Returns

System.Decimal

Parameters
TypeName
System.Int32ordinal

GetDouble(Int32)

View Source
Declaration
public override double GetDouble(int ordinal)
Returns

System.Double

Parameters
TypeName
System.Int32ordinal

GetEnumerator()

View Source
Declaration
public override IEnumerator GetEnumerator()
Returns

System.Collections.IEnumerator

GetFieldType(Int32)

View Source
Declaration
public override Type GetFieldType(int ordinal)
Returns

System.Type

Parameters
TypeName
System.Int32ordinal

GetFloat(Int32)

View Source
Declaration
public override float GetFloat(int ordinal)
Returns

System.Single

Parameters
TypeName
System.Int32ordinal

GetGuid(Int32)

View Source
Declaration
public override Guid GetGuid(int ordinal)
Returns

System.Guid

Parameters
TypeName
System.Int32ordinal

GetInt16(Int32)

View Source
Declaration
public override short GetInt16(int ordinal)
Returns

System.Int16

Parameters
TypeName
System.Int32ordinal

GetInt32(Int32)

View Source
Declaration
public override int GetInt32(int ordinal)
Returns

System.Int32

Parameters
TypeName
System.Int32ordinal

GetInt64(Int32)

View Source
Declaration
public override long GetInt64(int ordinal)
Returns

System.Int64

Parameters
TypeName
System.Int32ordinal

GetName(Int32)

View Source
Declaration
public override string GetName(int ordinal)
Returns

System.String

Parameters
TypeName
System.Int32ordinal

GetOrdinal(String)

View Source
Declaration
public override int GetOrdinal(string name)
Returns

System.Int32

Parameters
TypeName
System.Stringname

GetSchemaTable()

View Source
Declaration
public override DataTable GetSchemaTable()
Returns

System.Data.DataTable

GetString(Int32)

View Source
Declaration
public override string GetString(int ordinal)
Returns

System.String

Parameters
TypeName
System.Int32ordinal

GetValue(Int32)

View Source
Declaration
public override object GetValue(int ordinal)
Returns

System.Object

Parameters
TypeName
System.Int32ordinal

GetValues(Object[])

View Source
Declaration
public override int GetValues(object[] values)
Returns

System.Int32

Parameters
TypeName
System.Object[]values

IsDBNull(Int32)

View Source
Declaration
public override bool IsDBNull(int ordinal)
Returns

System.Boolean

Parameters
TypeName
System.Int32ordinal

NextResult()

View Source
Declaration
public override bool NextResult()
Returns

System.Boolean

Read()

View Source
Declaration
public override bool Read()
Returns

System.Boolean

Implements

  • System.Data.IDataReader
  • System.IDisposable
  • System.Data.IDataRecord
  • System.Collections.IEnumerable