Class DbTypeConverter
Provides methods to convert between .NET types and DbTypes.
Inheritance
System.Object
DbTypeConverter
Namespace: Paradigm.ORM.Data.Converters
Assembly: Paradigm.ORM.Data.dll
Syntax
public static class DbTypeConverter : object
Methods
| Improve this Doc View SourceFromDbType(DbType)
Converts from a dbtype to a .net type.
Declaration
public static Type FromDbType(DbType type)
Parameters
Type | Name | Description |
---|---|---|
DbType | type | The db type. |
Returns
Type | Description |
---|---|
Type | A .net type equivalent to the db type. |
FromType(Type)
Converts from a type to a db type.
Declaration
public static DbType FromType(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type. |
Returns
Type | Description |
---|---|
DbType | A dbtype equivalent to the type provided. |