Method | Description | |
---|---|---|
ConvertValueToString ( object value ) : string |
Converts the value of a valid type for this property definition to a string relevant. A null value will be oonverted to a zero length string.
|
|
TryParsePropValue ( object valueToParse, object &returnValue ) : bool |
This method provides the functionality to convert any object to the appropriate type for this mapper. The default behaviour only handles null values, empty strings and DBNull.Value and parses all three to null. This method should be overridden in subtypes to parse values to the type you want.
|
public ConvertValueToString ( object value ) : string | ||
value | object | The value to be converted |
return | string |
public TryParsePropValue ( object valueToParse, object &returnValue ) : bool | ||
valueToParse | object | The value to be attempted to parse |
returnValue | object | the parsed value, if parsing was successful |
return | bool |