Method | Description | |
---|---|---|
CanConvert ( |
Determines whether this type converter can convert values for the specified type.
|
|
ConvertFromDbValue ( IDataReader reader, int index, |
Converts value at the specified index in the IDataReader into an instance of the specified type.
|
|
ConvertFromDbValue ( object value, |
Converts the specified database value into an instance of the specified type.
|
|
ConvertToDbValue ( object value, |
Converts the specified value into an instance of the database value.
|
public CanConvert ( |
||
type | The type to check. | |
return | bool |
public ConvertFromDbValue ( IDataReader reader, int index, |
||
reader | IDataReader | The IDataReader containing the results. |
index | int | The index of the record to read from the IDataReader. |
type | The type to convert result value to. | |
return | object |
public ConvertFromDbValue ( object value, |
||
value | object | The database value to be converted. |
type | The type to convert to. | |
return | object |
public ConvertToDbValue ( object value, |
||
value | object | The value to be converted. |
type | The type to convert from. | |
return | object |