Type control in codesmith,sqlserver,c#

Source: Internet
Author: User

SQL Server Codesmith C #
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
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

Some of these types have been adjusted for ease of handling. Example: Datatime type is converted to String type processing

Type control in codesmith,sqlserver,c#

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.