Interface ICacheReader
Reads one or more than forward-only stream of result sets by executing OQ commands on the cache source.
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface ICacheReader : IDisposable
Properties
| Name | Description |
|---|---|
| FieldCount | Gets number of columns. |
| IsClosed | True, if reader is closed, else false. |
Methods
| Name | Description |
|---|---|
| Close() | It closes IDataReader. |
| GetBoolean(Int32) | Gets value of a specified index as bool. |
| GetDateTime(Int32) | Returns DateTime at specified column index. |
| GetDecimal(Int32) | Gets value of a specified index as decimal. |
| GetDouble(Int32) | Gets value of specified index as double. |
| GetInt16(Int32) | Gets value of a specified index as 16 bit integer. |
| GetInt32(Int32) | Gets value of a specified index as 32 bit integer. |
| GetInt64(Int32) | Gets value of specified index as 64 bit integer. |
| GetName(Int32) | Returns name of a specified column index. |
| GetOrdinal(String) | Returns index of a specified column name. |
| GetString(Int32) | Gets value of specified index as string. |
| GetValue<T>(Int32) | Gets value at specified column index. |
| GetValue<T>(String) | Gets value of specified column name. |
| GetValues(Object[]) | Populates array of objects with values in current row. |
| Read() | Advances ICacheReader to the next record. |