SqlDbType => DbType

  1. SqlDbType.BigInt DbType.Int64
  2. SqlDbType.Binary DbType.Binary
  3. SqlDbType.Bit DbType.Boolean
  4. SqlDbType.Char DbType.AnsiStringFixedLength
  5. SqlDbType.DateTime DbType.DateTime
  6. SqlDbType.Decimal DbType.Decimal
  7. SqlDbType.Float DbType.Double
  8. SqlDbType.Image DbType.Binary
  9. SqlDbType.Int DbType.Int32
  10. SqlDbType.Money DbType.Currency
  11. SqlDbType.NChar DbType.StringFixedLength
  12. SqlDbType.NText DbType.String
  13. SqlDbType.NVarChar DbType.String
  14. SqlDbType.Real DbType.Single
  15. SqlDbType.UniqueIdentifier DbType.Guid
  16. SqlDbType.SmallDateTime DbType.DateTime
  17. SqlDbType.SmallInt DbType.Int16
  18. SqlDbType.SmallMoney DbType.Currency
  19. SqlDbType.Text DbType.AnsiString
  20. SqlDbType.Timestamp DbType.Binary
  21. SqlDbType.TinyInt DbType.Byte
  22. SqlDbType.VarBinary DbType.Binary
  23. SqlDbType.VarChar DbType.AnsiString
  24. SqlDbType.Variant DbType.Object
  25. SqlDbType.Xml DbType.Xml
  26. SqlDbType.Udt DbType.Object
  27. SqlDbType.Structured DbType.Object
  28. SqlDbType.Date DbType.Date
  29. SqlDbType.Time DbType.Time
  30. SqlDbType.DateTime2 DbType.DateTime2
  31. SqlDbType.DateTimeOffset DbType.DateTimeOffset

DbType => SqlDbType

  1. DbType.AnsiString SqlDbType.VarChar
  2. DbType.Binary SqlDbType.VarBinary
  3. DbType.Byte SqlDbType.TinyInt
  4. DbType.Boolean SqlDbType.Bit
  5. DbType.Currency SqlDbType.Money
  6. DbType.Date SqlDbType.DateTime
  7. DbType.DateTime SqlDbType.DateTime
  8. DbType.Decimal SqlDbType.Decimal
  9. DbType.Double SqlDbType.Float
  10. DbType.Guid SqlDbType.UniqueIdentifier
  11. DbType.Int16 SqlDbType.SmallInt
  12. DbType.Int32 SqlDbType.Int
  13. DbType.Int64 SqlDbType.BigInt
  14. DbType.Object SqlDbType.Variant
  15. DbType.SByte (抛异常)
  16. DbType.Single SqlDbType.Real
  17. DbType.String SqlDbType.NVarChar
  18. DbType.Time SqlDbType.DateTime
  19. DbType.UInt16 (抛异常)
  20. DbType.UInt32 (抛异常)
  21. DbType.UInt64 (抛异常)
  22. DbType.VarNumeric (抛异常)
  23. DbType.AnsiStringFixedLength SqlDbType.Char
  24. DbType.StringFixedLength SqlDbType.NChar
  25. DbType.Xml SqlDbType.Xml
  26. DbType.DateTime2 SqlDbType.DateTime2
  27. DbType.DateTimeOffset SqlDbType.DateTimeOffset

SqlDbType与DbType这间的转换关系的更多相关文章

  1. Python常见字符编码间的转换

    主要内容:     1.Unicode 和 UTF-8的爱恨纠葛     2.字符在硬盘上的存储     3.编码的转换     4.验证编码是否转换正确     5.Python bytes类型 前 ...

  2. SQL数据类型和C#数据类型间的转换

    今天看到SQL数据类型和C#数据类型间的转换,前人留下的. <?xml version="1.0" encoding="utf-8" ?> < ...

  3. C++ 各种基本类型间的转换

    常用的转换方法: 流转换 STL标准函数库中函数转换 流转换 流转换主要是用到了<sstream>库中的stringstream类. 通过stringstream可以完成基本类型间的转换, ...

  4. Mint Linux 安装 DotnetCore 遭遇无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系

    evlon@evlon-ThinkPad-T530 ~ $ apt install dotnet-dev-1.0.0-preview2-003121 正在读取软件包列表... 完成 正在分析软件包的依 ...

  5. [React] 多组件生命周期转换关系

    前段时间一直在基于React做开发,最近得空做一些总结,防止以后踩坑. 言归正传,React生命周期是React组件运行的基础,本文主要是归纳多组件平行.嵌套时,生命周期转换关系. 生命周期 Reac ...

  6. E:无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系

    安装terminator等一些软件等时候,遇到了这样等问题 leo@leo:~$ sudo apt-get install terminator [sudo] password for leo: 正在 ...

  7. Android手机与计算机间的”信任关系”

    在iDevices(如iPhone.iPad等等)的取证方面,那个代表”信任关系”的plist无疑是最为关键的迹证,只要有了它,哪怕是最新机型的iDevice及最新版的iOS,且有着指纹保护或pass ...

  8. effective c++:inline函数,文件间编译依存关系

    inline函数 inline函数可以不受函数调用所带来的额外开销,编译器也会优化这些不含函数调用的代码,但是我们不能滥用Inline函数,如果程序中的每个函数都替换为inline函数那么生成的目标文 ...

  9. JavaScript---网络编程(7)-Dom模型(节点间的层次关系,节点的增、删、改)

    利用节点间的层次关系获取节点: 上一节讲了3中获取的方式: * ※※一.绝对获取,获取元素的3种方式:-Element * 1.getElementById(): 通过标签中的id属性值获来取该标签对 ...

随机推荐

  1. arcgis engine - 命令和工具

    在engine中, 命令是实现了 ICommand,我们可以通过使用 UID, progID 或 ICommand 将一个命令宿主到 ToolBarControl中. ICommand接口有一个 On ...

  2. 重新认识Intent

    相信android开发工程师,对Intent一定不陌生,在整个开发中随时都用到了,今天我们总结一下Intent. 1. 为什么需要Intent? 在android Intent机制是协助应用间的交互与 ...

  3. string的一些操作,类似数组

    1.串的切割 var a="hello world";//a.length=11 alert(a.slice(3)); alert(a.substring(3)); alert(a ...

  4. linux上 安装并 运行opencv

    我是在树莓派上安装的. 1.先安装依赖项 OpenCV 2.2以后版本需要使用Cmake生成makefile文件,因此需要先安装cmake. sudo apt-get install build-es ...

  5. maven, sesame, openrdf, eclipse 的初始学习

    初始学习如下: http://rdf4j.org/sesame/tutorials/getting-started.docbook?view

  6. [置顶] chinayaosir近10年来所阅读的世界著名IT书籍-图文并茂

    1.人生观(包括做人原则,心理学,投资,销售) 一个人从来到世上,很多东西都是空白, 阅读一些正能量的书籍,把里面的理论用于生活,不断的应用它, 这些观念就会如同软件一样,不断的升级你的大脑, 合理的 ...

  7. Mysql创建函数出错

    目前在项目中,执行创建mysql的函数出错, mysql 创建函数出错信息如下: Error Code: 1227. Access denied; you need (at least one of) ...

  8. WPF、WinForm(C#)多线程编程并更新界面(UI)(转载积累)

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using ...

  9. Java虚拟机--虚拟机编译器

    void sspin() { short i; for (i = 0; i < 100; i++) { ; // Loop body is empty }} Method void sspin( ...

  10. uml(1)--概述

    面象对象的课程已经学到UML建模部分, 为了应付老师布置了的作业,须重新学习UML 故趁此机会将自己所学,所看做个记录,不为点赞, 只为加深记忆,加深理解…不是都说写一遍等于读十遍嘛…… 对于UML ...