Class ProviderToReaderWrapper
Inheritance
ProviderToReaderWrapper
Assembly: SoDataBase.dll
Syntax
public class ProviderToReaderWrapper : IDataReader, IDisposable, IDataRecord
Constructors
ProviderToReaderWrapper(IArchiveProvider, String)
Declaration
public ProviderToReaderWrapper(IArchiveProvider provider, string options)
Parameters
Properties
Depth
Gets a value indicating the depth of nesting for the current row.
Declaration
public int Depth { get; }
Property Value
FieldCount
Declaration
public int FieldCount { get; }
Property Value
IsClosed
Declaration
public bool IsClosed { get; }
Property Value
Item[Int32]
Declaration
public object this[int i] { get; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Item[String]
Declaration
public object this[string name] { get; }
Parameters
Type |
Name |
Description |
String |
name |
|
Property Value
RecordsAffected
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
Declaration
public int RecordsAffected { get; }
Property Value
Methods
Close()
Declaration
Dispose()
Declaration
GetBoolean(Int32)
Declaration
public bool GetBoolean(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetByte(Int32)
Declaration
public byte GetByte(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetBytes(Int32, Int64, Byte[], Int32, Int32)
Declaration
public long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferoffset, int length)
Parameters
Returns
GetChar(Int32)
Declaration
public char GetChar(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetChars(Int32, Int64, Char[], Int32, Int32)
Declaration
public long GetChars(int i, long fieldoffset, char[] buffer, int bufferoffset, int length)
Parameters
Returns
GetData(Int32)
Declaration
public IDataReader GetData(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetDataTypeName(Int32)
Declaration
public string GetDataTypeName(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetDateTime(Int32)
Declaration
public DateTime GetDateTime(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetDecimal(Int32)
Declaration
public decimal GetDecimal(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetDouble(Int32)
Declaration
public double GetDouble(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetFieldType(Int32)
Declaration
public Type GetFieldType(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetFloat(Int32)
Declaration
public float GetFloat(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetGuid(Int32)
Declaration
public Guid GetGuid(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetInt16(Int32)
Declaration
public short GetInt16(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetInt32(Int32)
Declaration
public int GetInt32(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetInt64(Int32)
Declaration
public long GetInt64(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetName(Int32)
Declaration
public string GetName(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetOrdinal(String)
Declaration
public int GetOrdinal(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
GetSchemaTable()
Declaration
public DataTable GetSchemaTable()
Returns
GetString(Int32)
Declaration
public string GetString(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetValue(Int32)
Declaration
public object GetValue(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetValues(Object[])
Declaration
public int GetValues(object[] values)
Parameters
Type |
Name |
Description |
Object[] |
values |
|
Returns
IsDBNull(Int32)
Declaration
public bool IsDBNull(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
NextResult()
Declaration
Returns
Read()
Declaration
Returns
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)