DataReaderExtensions Class Reference
Extension methods for IDataReader objects.
More...
List of all members.
Static Public Member Functions |
static return_string | GetGetter (this IDataReader reader, int i) |
| Get a getter function for (usually user or item) IDs from a IDataReader.
|
Detailed Description
Extension methods for IDataReader objects.
Member Function Documentation
static return_string GetGetter |
( |
this IDataReader |
reader, |
|
|
int |
i | |
|
) |
| | [inline, static] |
Get a getter function for (usually user or item) IDs from a IDataReader.
- Returns:
- a return_string function
- Parameters:
-
| reader | the reader object |
| i | index of the field to access |
- Exceptions:
-
| FormatException | thrown if field i is not of type String, Int32, or Int64 |
The documentation for this class was generated from the following file: