메소드 | 설명 | |
---|---|---|
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.
|
|
TimeSpanTypeConverter ( ) : System |
Initialises a new instance of the TimeSpanTypeConverter class.
|
public CanConvert ( |
||
type | The type to check. | |
리턴 | 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. | |
리턴 | object |
public ConvertFromDbValue ( object value, |
||
value | object | The database value to be converted. |
type | The type to convert to. | |
리턴 | object |
public ConvertToDbValue ( object value, |
||
value | object | The value to be converted. |
type | The type to convert from. | |
리턴 | object |