Example #1
0
 public static SqlDbType ToSqlDbType(this DbType dbType)
 {
     return(DataTypeConvertor.GetSqlDbType(dbType));
 }
Example #2
0
        public static Type ToSystemType(this DbType dbType)
        {
            Type type = DataTypeConvertor.GetSystemType(dbType);

            return(type == null ? typeof(object) : type);
        }