Class NativeTypeConverter
Provides methods to convert a
Inheritance
System.Object
NativeTypeConverter
Namespace: Paradigm.ORM.Data.Converters
Assembly: Paradigm.ORM.Data.dll
Syntax
public static class NativeTypeConverter : object
Methods
| Improve this Doc View SourceConvertTo(Object, Type)
Converts an object to a given .net type.
Declaration
public static object ConvertTo(object value, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value to convert. |
Type | type | The type to convert to. |
Returns
Type | Description |
---|---|
System.Object | A value of the specified type. |
Remarks
This method only works for native type codes.