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型处理

  • 相关阅读:
    笑话几则
    .net 知识点滴
    LoadRunner本机录制http协议程序遇到的问题以及解决方法
    40款非常棒的 jQuery 插件和制作教程(系列二)
    50个极佳的企业网站案例
    jQuery ui effects
    9个优秀网上免费标签云生成工具
    30 +创意的登录页面设计灵感
    分享一个jQuery的时间轴插件:TimergliderJS
    36个非常有趣的互动网站设计作品范例
  • 原文地址:https://www.cnblogs.com/muzhiye/p/1841326.html
Copyright © 2011-2022 走看看