Class DbTypeExtensions
- Namespace
- Cuemon.Extensions.Data
- Assembly
- Cuemon.Extensions.Data.dll
Extension methods for the System.Data.DbType enumeration.
public static class DbTypeExtensions
- Inheritance
-
ObjectDbTypeExtensions
Methods
ToType(DbType)
Provides the equivalent System.Type of a System.Data.DbType enumeration value.
public static Type ToType(this DbType dbType)
Parameters
dbType
DbTypeThe System.Data.DbType to extend.
Returns
- Type
The equivalent System.Type of a System.Data.DbType enumeration value.
Exceptions
- System.ArgumentOutOfRangeException
dbType
value is not valid.