24 references to SqlInt16
System.Data.Common (24)
System\Data\Common\SQLConvert.cs (1)
587
return new
SqlInt16
(XmlConvert.ToInt16((string)value));
System\Data\SQLTypes\SQLInt16.cs (23)
62
return new
SqlInt16
(x);
81
return new
SqlInt16
(short.Parse(s, null));
87
return x.IsNull ? Null : new
SqlInt16
((short)-x.m_value);
92
return x.IsNull ? Null : new
SqlInt16
((short)~x.m_value);
107
return new
SqlInt16
((short)iResult);
119
return new
SqlInt16
((short)iResult);
132
return new
SqlInt16
((short)iResult);
145
return new
SqlInt16
((short)(x.m_value / y.m_value));
161
return new
SqlInt16
((short)(x.m_value % y.m_value));
170
return (x.IsNull || y.IsNull) ? Null : new
SqlInt16
((short)(x.m_value & y.m_value));
175
return (x.IsNull || y.IsNull) ? Null : new
SqlInt16
(unchecked((short)((ushort)x.m_value | (ushort)y.m_value)));
180
return (x.IsNull || y.IsNull) ? Null : new
SqlInt16
((short)(x.m_value ^ y.m_value));
188
return x.IsNull ? Null : new
SqlInt16
(x.ByteValue);
194
return x.IsNull ? Null : new
SqlInt16
(x.Value);
209
return new
SqlInt16
((short)value);
222
return new
SqlInt16
((short)value);
235
return new
SqlInt16
((short)value);
248
return new
SqlInt16
((short)value);
254
return x.IsNull ? Null : new
SqlInt16
(checked((short)x.ToInt32()));
266
return x.IsNull ? Null : new
SqlInt16
(short.Parse(x.Value, null));
525
public static readonly SqlInt16 Zero = new
SqlInt16
(0);
526
public static readonly SqlInt16 MinValue = new
SqlInt16
(short.MinValue);
527
public static readonly SqlInt16 MaxValue = new
SqlInt16
(short.MaxValue);