Summer.Batch.Data.Converter Class Reference
Utility class for converting data to unify the type of the values read from the database providers. More...
Static Public Member Functions | |
static T | Convert< T > (object obj) |
Converts an object to the specified type. More... | |
static object | Convert (object obj, Type type) |
Converts an object to the specified type. More... | |
Detailed Description
Utility class for converting data to unify the type of the values read from the database providers.
Member Function Documentation
|
static |
Converts an object to the specified type.
- Parameters
-
obj the object to convert type the type to convert to
- Returns
- obj converted to type type .
- Exceptions
-
InvalidOperationException if obj cannot be converted to type type
|
static |
Converts an object to the specified type.
- Template Parameters
-
T the type to convert to
- Parameters
-
obj the object to convert
- Returns
- obj converted to type T .
- Exceptions
-
InvalidOperationException if obj cannot be converted to type T
The documentation for this class was generated from the following file:
- Summer.Batch.Data/Converter.cs