zoukankan      html  css  js  c++  java
  • Managed Data Type Mappings (SQL Server Compact Edition)

    Microsoft SQL Server 2005 Compact Edition (SQL Server Compact Edition) does not fully support all .NET data types; when data is accessed by using ADO.NET, SQL Server Compact Edition must translate unsupported types to those that are supported.

    The following table shows the data type mappings between SQL Server Compact Edition and the .NET data provider.

    .NET Data Type SQL Server Compact Edition Data Type

    binary

    varbinary

    boolean

    bit

    byte

    tinyint

    byte[]

    varbinary

    datetime

    datetime

    decimal

    numeric

    double

    float

    guid

    uniqueidentifier

    image

    image

    int16

    smallint

    Uint16

    uint16

    int32

    int

    Uint32

    uint32

    int64

    bigint

    Uint64

    uint64

    SqlBinary

    varbinary

    SqlBoolean

    bit

    SqlByte

    tinyint

    SqlDecimal¹

    numeric

    SqlDateTime

    datetime

    SqlDouble

    float

    SqlGuid

    uniqueidentifier

    SqlInt16

    smallint

    SqlInt32

    int

    SqlInt64

    bigint

    SqlMoney

    money

    SqlSingle

    real

    SqlString

    nvarchar

    single

    real

    string

    nvarchar

    ¹ SQL Server Compact Edition supports SqlDecimal data type only up to 96 bits. If 96 bits are exceeded, SQL Server Compact Edition throws an overflow exception error.

  • 相关阅读:
    Unity NGUI 3.0.4版本 制作网络版斗地主
    unity3D与网页的交互---做项目的一点总结
    Cross-platform Tools
    Win7下Qt5的安装及使用
    VS Installer教程
    C++ & MFC
    论文模板的定制
    批处理文件
    MFC六大关键技术
    C/C++常用预处理指令
  • 原文地址:https://www.cnblogs.com/wmz/p/1261636.html
Copyright © 2011-2022 走看看