44 references to SmallInt
System.Data (28)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (4)
47
SqlDbType.
SmallInt
, // System.Int16
66
SqlDbType.
SmallInt
, // System.Data.SqlTypes.SqlInt16
317
case SqlDbType.
SmallInt
:
778
case SqlDbType.
SmallInt
:
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (3)
114
internal static readonly SmiMetaData DefaultSmallInt = new SmiMetaData(SqlDbType.
SmallInt
, 2, 5, 0, SqlCompareOptions.None); // SqlDbType.SmallInt
354
case SqlDbType.
SmallInt
:
462
case SqlDbType.
SmallInt
:
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (7)
895
case SqlDbType.
SmallInt
:
1043
case SqlDbType.
SmallInt
:
1219
case SqlDbType.
SmallInt
:
1786
case SqlDbType.
SmallInt
:
1920
case SqlDbType.
SmallInt
:
2106
case SqlDbType.
SmallInt
:
2229
case SqlDbType.
SmallInt
:
fx\src\data\System\Data\Sql\SqlMetaData.cs (7)
170
case SqlDbType.
SmallInt
:
432
SqlDbType.
SmallInt
== dbType ||
707
if (SqlDbType.
SmallInt
!= SqlDbType)
813
if (SqlDbType.
SmallInt
!= SqlDbType)
1146
case TypeCode.Int16: smd = new SqlMetaData(name, SqlDbType.
SmallInt
); break;
1218
smd = new SqlMetaData(name, SqlDbType.
SmallInt
);
1597
new SqlMetaData("smallint", SqlDbType.
SmallInt
,
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
609
case SqlDbType.
SmallInt
:
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
191
case SqlDbType.
SmallInt
: return MetaSmallInt;
594
sqlType = SqlDbType.
SmallInt
;
746
(5, 255, 2, true, false, false, TdsEnums.SQLINT2, TdsEnums.SQLINTN, MetaTypeName.SMALLINT, typeof(System.Int16), typeof(SqlInt16), SqlDbType.
SmallInt
, DbType.Int16, 0);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
4819
case SqlDbType.
SmallInt
:
8931
case SqlDbType.
SmallInt
:
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
77
case SqlDbType.
SmallInt
:
System.Data.Entity (2)
System\Data\SqlClient\SqlProviderServices.cs (2)
510
return SqlDbType.
SmallInt
;
519
return SqlDbType.
SmallInt
;
System.Data.Linq (14)
parent\DbmlShared\Mapping.cs (1)
515
case SqlDbType.
SmallInt
:
SqlClient\SqlTypeSystemProvider.cs (13)
70
case SqlDbType.
SmallInt
: return theSmallInt;
124
case SqlDbType.
SmallInt
:
161
static private readonly SqlType theSmallInt = new SqlType(SqlDbType.
SmallInt
);
306
case SqlDbType.
SmallInt
: // -2^15 (-32,768) to 2^15-1 (32,767)
468
case SqlDbType.
SmallInt
:
615
case SqlDbType.
SmallInt
:
718
case SqlDbType.
SmallInt
: return 13;
759
case SqlDbType.
SmallInt
:
1154
case SqlDbType.
SmallInt
:
1224
case SqlDbType.
SmallInt
:
1309
return Create(SqlDbType.
SmallInt
);
1424
return Create(SqlDbType.
SmallInt
);
1544
return Create(SqlDbType.
SmallInt
);