zoukankan      html  css  js  c++  java
  • CodeSmith,SqlServer,C#中的类型对照

    SqlServer         CodeSmith                                   cs
    bigint                  Int64                                        Int64
    binary                 Binary                               System.Byte[]
    bit                      Boolean                                    bool
    char                  AnsiStringFixedLength              string
    datetime             DateTime                                   string
    decimal              Decimal                                    Decimal
    float                   Double                                        Double
    image                 Binary                                System.Byte[]
    int                      Int32                                            int
    money               Currency                                   Single
    nchar                 StringFixedLength                          string
    ntext                  String                                            string
    numeric             Decimal                                    Decimal
    nvarchar            String                                            string
    real                   Single                                            Single
    smalldatetime     DateTime                                       string
    smallint               Int16                                            Int16
    smallmoney         Currency                                   Single
    sql_variant          Object                                        Object
    text                     AnsiString                                   string
    timestamp           Binary                                    System.Byte[]
    tinyint                  Byte                                            Byte
    uniqueidentifier     Guid                                       System.Guid
    varbinary             Binary                                    System.Byte[]
    varchar                AnsiString                                   string

    其中有些类型为了处理简便,做了一些调整。如:DataTime类型转成string型处理

  • 相关阅读:
    zendstudio 默认网页打开your project的时候不显示本地主机localhost的解决方法
    centos安装epel源后,使用报错(Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again)
    描述硬链接和软链接区别
    软硬链接和文件之间的关系
    硬链接 inode号码相同 文件名不同
    目录下没有任何内容,为什么该目录的硬链接数为何是2
    磁盘还有空间为什么不能写入数据以及彻底删除文件原理
    inode和block的关系
    block
    /etc/init.d和/etc/rc.d/rc*.脚本/etc/rc.d/rc.local和/etc/rc.d/rc.sysinit
  • 原文地址:https://www.cnblogs.com/muzhiye/p/1841326.html
Copyright © 2011-2022 走看看