C# Class MdxClient.TypeConverter

Convert a base data type to another base data type
Afficher le fichier Open project: DynamicTyped/MdxClient

Méthodes publiques

Méthode Description
ToDbType ( SqlDbType sqlDbType ) : DbType

Convert TSQL data type to DbType

ToDbType ( Type type ) : DbType

Convert .Net type to Db type

ToNetType ( DbType dbType ) : Type

Convert db type to .Net data type

ToNetType ( SqlDbType sqlDbType ) : Type

Convert TSQL type to .Net data type

ToSqlDbType ( DbType dbType ) : SqlDbType

Convert DbType type to TSQL data type

ToSqlDbType ( Type type ) : SqlDbType

Convert .Net type to TSQL data type

Private Methods

Méthode Description
Find ( DbType dbType ) : DbTypeMapEntry
Find ( SqlDbType sqlDbType ) : DbTypeMapEntry
Find ( Type type ) : DbTypeMapEntry
TypeConverter ( ) : System

Method Details

ToDbType() public static méthode

Convert TSQL data type to DbType
public static ToDbType ( SqlDbType sqlDbType ) : DbType
sqlDbType SqlDbType
Résultat DbType

ToDbType() public static méthode

Convert .Net type to Db type
public static ToDbType ( Type type ) : DbType
type System.Type
Résultat DbType

ToNetType() public static méthode

Convert db type to .Net data type
public static ToNetType ( DbType dbType ) : Type
dbType DbType
Résultat System.Type

ToNetType() public static méthode

Convert TSQL type to .Net data type
public static ToNetType ( SqlDbType sqlDbType ) : Type
sqlDbType SqlDbType
Résultat System.Type

ToSqlDbType() public static méthode

Convert DbType type to TSQL data type
public static ToSqlDbType ( DbType dbType ) : SqlDbType
dbType DbType
Résultat SqlDbType

ToSqlDbType() public static méthode

Convert .Net type to TSQL data type
public static ToSqlDbType ( Type type ) : SqlDbType
type System.Type
Résultat SqlDbType