27 references to SqlInt32
System.Data.Common (27)
System\Data\Common\SQLConvert.cs (1)
589return new SqlInt32(XmlConvert.ToInt32((string)value));
System\Data\SQLTypes\SQLDecimal.cs (2)
3157(n.IsPositive ? new SqlInt32(1) : new SqlInt32(-1));
System\Data\SQLTypes\SQLInt32.cs (24)
63return new SqlInt32(x); 82return new SqlInt32(int.Parse(s, null)); 89return x.IsNull ? Null : new SqlInt32(-x.m_value); 94return x.IsNull ? Null : new SqlInt32(~x.m_value); 109return new SqlInt32(iResult); 121return new SqlInt32(iResult); 134return new SqlInt32((int)lResult); 147return new SqlInt32(x.m_value / y.m_value); 163return new SqlInt32(x.m_value % y.m_value); 172return (x.IsNull || y.IsNull) ? Null : new SqlInt32(x.m_value & y.m_value); 177return (x.IsNull || y.IsNull) ? Null : new SqlInt32(x.m_value | y.m_value); 182return (x.IsNull || y.IsNull) ? Null : new SqlInt32(x.m_value ^ y.m_value); 191return x.IsNull ? Null : new SqlInt32(x.ByteValue); 197return x.IsNull ? Null : new SqlInt32(x.Value); 203return x.IsNull ? Null : new SqlInt32(x.Value); 218return new SqlInt32((int)value); 231return new SqlInt32((int)value); 244return new SqlInt32((int)value); 250return x.IsNull ? Null : new SqlInt32(x.ToInt32()); 268return new SqlInt32((int)ret); 275return x.IsNull ? SqlInt32.Null : new SqlInt32(int.Parse(x.Value, null)); 540public static readonly SqlInt32 Zero = new SqlInt32(0); 541public static readonly SqlInt32 MinValue = new SqlInt32(int.MinValue); 542public static readonly SqlInt32 MaxValue = new SqlInt32(int.MaxValue);