ObjectReader class offers the function to return DataObject from database by frontward (similar to IDataReader except that what ObjectReader returns is object). ObjectReader's functions are as follows:
|
method |
Description |
|
public bool Read |
Read one and cursor go ahead |
|
public void Close |
Close |
|
public IDataObject Current { get; } |
Return current cursor object |
|
public bool IsClosed { get; } |
Whether to close |
Related Topics