Categories
Coding

Mapping SQL Server integer types to .NET types

BigInt = Int64 (Long) Int = Int32 (Integer) SmallInt = Int16 (Short) TinyInt = Byte e.g. byte recurrenceType = reader.GetByte(8);

BigInt = Int64 (Long)
Int = Int32 (Integer)
SmallInt = Int16 (Short)
TinyInt = Byte

e.g. byte recurrenceType = reader.GetByte(8);