DefaultStringToDbTypeConverter
Implements a defautl conversión of string to a type.
- Namespace:
- Inetdev.Data
- Type:
- Class
- Public:
- Yes
- Protected:
- No
- Sealed:
- No
- Abstract:
- No
- Inherits from:
- System.Object
- Implements:
- Inetdev.Data.IStringToDbTypeConverter
Constructors
DefaultStringToDbTypeConverter
Default constructor
- Signature:
public Void DefaultStringToDbTypeConverter()
Methods
Convert
Converts the value to a DbType value.
- Signature:
public Object Convert(targetType, value)
Returns
An Object containing the converted value.
Parameters
Name |
Type |
Summary |
targetType |
DbType |
DbType to convert to. |
value |
String |
Value to convert. |