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
Type | Name |
---|---|
System.Int32 | ordinal |
GetByte(Int32)
View Source
Declaration
public override byte GetByte(int ordinal)
Returns
System.Byte
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
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
Type | Name |
---|---|
System.Int32 | ordinal |
System.Int64 | dataOffset |
System.Byte[] | buffer |
System.Int32 | bufferOffset |
System.Int32 | length |
GetChar(Int32)
View Source
Declaration
public override char GetChar(int ordinal)
Returns
System.Char
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
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
Type | Name |
---|---|
System.Int32 | ordinal |
System.Int64 | dataOffset |
System.Char[] | buffer |
System.Int32 | bufferOffset |
System.Int32 | length |
GetDataTypeName(Int32)
View Source
Declaration
public override string GetDataTypeName(int ordinal)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetDateTime(Int32)
View Source
Declaration
public override DateTime GetDateTime(int ordinal)
Returns
System.DateTime
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetDecimal(Int32)
View Source
Declaration
public override decimal GetDecimal(int ordinal)
Returns
System.Decimal
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetDouble(Int32)
View Source
Declaration
public override double GetDouble(int ordinal)
Returns
System.Double
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
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
Type | Name |
---|---|
System.Int32 | ordinal |
GetFloat(Int32)
View Source
Declaration
public override float GetFloat(int ordinal)
Returns
System.Single
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetGuid(Int32)
View Source
Declaration
public override Guid GetGuid(int ordinal)
Returns
System.Guid
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetInt16(Int32)
View Source
Declaration
public override short GetInt16(int ordinal)
Returns
System.Int16
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetInt32(Int32)
View Source
Declaration
public override int GetInt32(int ordinal)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetInt64(Int32)
View Source
Declaration
public override long GetInt64(int ordinal)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetName(Int32)
View Source
Declaration
public override string GetName(int ordinal)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetOrdinal(String)
View Source
Declaration
public override int GetOrdinal(string name)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.String | name |
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
Type | Name |
---|---|
System.Int32 | ordinal |
GetValue(Int32)
View Source
Declaration
public override object GetValue(int ordinal)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
GetValues(Object[])
View Source
Declaration
public override int GetValues(object[] values)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Object[] | values |
IsDBNull(Int32)
View Source
Declaration
public override bool IsDBNull(int ordinal)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Int32 | ordinal |
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