Extension methods for IDataReader objects
More...
|
static Func< float > | GetFloatGetter (this IDataReader reader, int i) |
| Get a getter function for ratings from an IDataReader More...
|
|
static Func< string > | GetStringGetter (this IDataReader reader, int i) |
| Get a getter function for (usually user or item) IDs from an IDataReader More...
|
|
Extension methods for IDataReader objects
static Func<float> GetFloatGetter |
( |
this IDataReader |
reader, |
|
|
int |
i |
|
) |
| |
|
inlinestatic |
Get a getter function for ratings from an IDataReader
- Returns
- a function returning a float
- Parameters
-
reader | the reader object |
i | index of the field to access |
- Exceptions
-
FormatException | thrown if field i is not of type Float, Double, Int32, or Int64 |
static Func<string> GetStringGetter |
( |
this IDataReader |
reader, |
|
|
int |
i |
|
) |
| |
|
inlinestatic |
Get a getter function for (usually user or item) IDs from an IDataReader
- Returns
- a function returning a string
- 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: