jueves, marzo 01, 2007

Equivalencia entre tipos SQL Server y .NET Framework

Esta es la lista (incompleta) de equivalencias de tipos:


SQL Server data type CLR data type (SQL Server) CLR data type (.NET Framework)
binary SqlBytes, SqlBinary Byte[] (byte[])
bit SqlBoolean Boolean (bool)
tinyint SqlByte Byte (byte)
smallint SqlInt16 Int16 (short)
int SqlInt32 Int32 (int)
bigint SqlInt64 Int64 (long)
smallmoney SqlMoney Decimal (decimal)
money SqlMoney Decimal
numeric SqlDecimal Decimal
decimal SqlDecimal Decimal
real SqlSingle Single (float)
float SqlDouble Double (double)
smalldatetime SqlDateTime DateTime
datetime SqlDateTime DateTime


La lista completa está en Mocosoft

Etiquetas:

0 Comentarios:

Publicar un comentario

Suscribirse a Comentarios de la entrada [Atom]

<< Página Principal