Class ObjectReader<T>
Inheritance
System.Object
ObjectReader<T>
Implements
System.Data.IDataReader
System.IDisposable
System.Data.IDataRecord
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: IL2CPU.Debug.Symbols.Net48.dll
Syntax
public class ObjectReader<T> : IDataReader, IDisposable, IDataRecord
Type Parameters
Constructors
|
Improve this Doc
View Source
ObjectReader(IEnumerable<T>)
Declaration
public ObjectReader(IEnumerable<T> items)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
items |
|
Properties
|
Improve this Doc
View Source
Depth
Declaration
public int Depth { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FieldCount
Declaration
public int FieldCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsClosed
Declaration
public bool IsClosed { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Item[Int32]
Declaration
public object this[int i] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Property Value
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Item[String]
Declaration
public object this[string name] { get; }
Parameters
Type |
Name |
Description |
System.String |
name |
|
Property Value
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
RecordsAffected
Declaration
public int RecordsAffected { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Close()
Declaration
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
GetBoolean(Int32)
Declaration
public bool GetBoolean(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetByte(Int32)
Declaration
public byte GetByte(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetBytes(Int32, Int64, Byte[], Int32, Int32)
Declaration
public 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 |
|
|
Improve this Doc
View Source
GetChar(Int32)
Declaration
public char GetChar(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
GetChars(Int32, Int64, Char[], Int32, Int32)
Declaration
public 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 |
|
|
Improve this Doc
View Source
GetData(Int32)
Declaration
public IDataReader GetData(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Data.IDataReader |
|
|
Improve this Doc
View Source
GetDataTypeName(Int32)
Declaration
public string GetDataTypeName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetDateTime(Int32)
Declaration
public DateTime GetDateTime(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
GetDecimal(Int32)
Declaration
public decimal GetDecimal(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Decimal |
|
|
Improve this Doc
View Source
GetDouble(Int32)
Declaration
public double GetDouble(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
GetFieldType(Int32)
Declaration
public Type GetFieldType(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Type |
|
|
Improve this Doc
View Source
GetFloat(Int32)
Declaration
public float GetFloat(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetGuid(Int32)
Declaration
public Guid GetGuid(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Guid |
|
|
Improve this Doc
View Source
GetInt16(Int32)
Declaration
public short GetInt16(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Int16 |
|
|
Improve this Doc
View Source
GetInt32(Int32)
Declaration
public int GetInt32(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetInt64(Int32)
Declaration
public long GetInt64(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
GetName(Int32)
Declaration
public string GetName(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetOrdinal(String)
Declaration
public int GetOrdinal(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetSchemaTable()
Declaration
public DataTable GetSchemaTable()
Returns
Type |
Description |
System.Data.DataTable |
|
|
Improve this Doc
View Source
GetString(Int32)
Declaration
public string GetString(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetValue(Int32)
Declaration
public object GetValue(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetValues(Object[])
Declaration
public int GetValues(object[] values)
Parameters
Type |
Name |
Description |
System.Object[] |
values |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsDBNull(Int32)
Declaration
public bool IsDBNull(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
NextResult()
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Read()
Declaration
Returns
Type |
Description |
System.Boolean |
|
Implements
System.Data.IDataReader
System.IDisposable
System.Data.IDataRecord