fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (8)
259internal static Int16 GetInt16( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) {
268return (Int16) obj;
529Int16 temp = GetInt16_Unchecked( sink, getters, ordinal );
1434internal static void SetInt16( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, Int16 value ) {
1603case ExtendedClrTypeCode.Int16: SetInt16_Unchecked( sink, setters, ordinal, (Int16) value ); break;
3114private static Int16 GetInt16_Unchecked( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal ) {
3117Int16 result = getters.GetInt16( sink, ordinal );
3357private static void SetInt16_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, Int16 value ) {
fx\src\data\System\Data\Common\UnsafeNativeMethods.cs (53)
70/*SQLSMALLINT*/Int16 ParamDirection,
72/*SQLSMALLINT*/Int16 SQLType,
93/*SQLUSMALLINT*/Int16 ColumnNumber,
94/*SQLUSMALLINT*/Int16 FieldIdentifier,
96/*SQLSMALLINT*/Int16 BufferLength,
97/*SQLSMALLINT* */out Int16 StringLength,
122/*SQLSMALLINT*/Int16 NameLen1,
125/*SQLSMALLINT*/Int16 NameLen2,
128/*SQLSMALLINT*/Int16 NameLen3,
131/*SQLSMALLINT*/Int16 NameLen4);
147/*SQLSMALLINT*/Int16 cbConnectionstring,
149/*SQLSMALLINT*/Int16 cbConnectionstringoutMax,
150/*SQLSMALLINT* */out Int16 cbConnectionstringout,
151/*SQLUSMALLINT*/Int16 fDriverCompletion);
159/*SQLSMALLINT*/Int16 CompletionType);
215/*SQLUSMALLINT*/Int16 RecNumber,
226/*SQLSMALLINT*/Int16 RecNumber,
230/*SQLSMALLINT*/Int16 BufferLength,
231/*SQLSMALLINT* */out Int16 TextLength);
238/*SQLSMALLINT*/ Int16 RecNumber,
239/*SQLSMALLINT*/ Int16 DiagIdentifier,
242/*SQLSMALLINT*/ Int16 BufferLength,
243/*SQLSMALLINT* */ out Int16 StringLength);
250/*SQLUSMALLINT* */out Int16 pfExists);
258/*SQLSMALLINT*/Int16 cbInfoValueMax,
259/*SQLSMALLINT* */out Int16 pcbInfoValue);
267/*SQLSMALLINT*/Int16 cbInfoValueMax,
283/*SQLSMALLINT*/Int16 fSqlType);
294/*SQLSMALLINT* */out Int16 ColumnCount);
310/*SQLSMALLINT*/Int16 NameLen1,
313/*SQLSMALLINT*/Int16 NameLen2,
316/*SQLSMALLINT*/Int16 NameLen3);
323/*SQLSMALLINT*/Int16 NameLen1,
325/*SQLSMALLINT*/Int16 NameLen2,
327/*SQLSMALLINT*/Int16 NameLen3,
329/*SQLSMALLINT*/Int16 NameLen4);
336/*SQLSMALLINT*/Int16 NameLen1,
338/*SQLSMALLINT*/Int16 NameLen2,
340/*SQLSMALLINT*/Int16 NameLen3);
385/*SQLSMALLINT*/Int16 ColumnNumber,
394/*SQLSMALLINT*/Int16 ColumnNumber,
423/*SQLSMALLINT*/Int16 NameLen1,
426/*SQLSMALLINT*/Int16 NameLen2,
429/*SQLSMALLINT*/Int16 NameLen3,
439/*SQLSMALLINT*/Int16 NameLen1,
442/*SQLSMALLINT*/Int16 NameLen2,
445/*SQLSMALLINT*/Int16 NameLen3,
446/*SQLUSMALLINT*/Int16 Unique,
447/*SQLUSMALLINT*/Int16 Reserved);
455/*SQLSMALLINT*/Int16 NameLen1,
458/*SQLSMALLINT*/Int16 NameLen2,
461/*SQLSMALLINT*/Int16 NameLen3,
464/*SQLSMALLINT*/Int16 NameLen4);
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (2)
171static private readonly NativeDBType D_TinyInt = new NativeDBType( 3, 1, true, false, OleDbType.TinyInt, NativeDBType.I1, S_I1, typeof(System.Int16), NativeDBType.I1, DbType.SByte ); // 13 - integer1 // MDAC 59492
172static private readonly NativeDBType D_SmallInt = new NativeDBType( 5, 2, true, false, OleDbType.SmallInt, NativeDBType.I2, S_I2, typeof(System.Int16), NativeDBType.I2, DbType.Int16 ); // 14 - integer2
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
512else if (comVal is Int16)
513sqlVal = new SqlInt16((Int16)comVal);
746(5, 255, 2, true, false, false, TdsEnums.SQLINT2, TdsEnums.SQLINTN, MetaTypeName.SMALLINT, typeof(System.Int16), typeof(SqlInt16), SqlDbType.SmallInt, DbType.Int16, 0);