Below is the default clr -> db column type mappings provided for sql server

CLR -> Sql Server
  • DateTimeOffset -> DateTimeOffset(7)
  • String -> varchar(200)
  • Int32 -> int
  • int64 -> bigint
  • single, double -> real
  • byte[] -> varvinary(MAX)
  • Boolean -> bit
  • DateTime -> DateTime
  • TimeSpan -> time(7)

Last edited Dec 14, 2010 at 2:48 AM by iamkrillin, version 1

Comments

No comments yet.