23 references to SqlByte
System.Data.Common (23)
System\Data\Common\SQLConvert.cs (1)
573return new SqlByte(XmlConvert.ToByte((string)value));
System\Data\SQLTypes\SQLByte.cs (22)
63return new SqlByte(x); 82return new SqlByte(byte.Parse(s, null)); 88return x.IsNull ? Null : new SqlByte(unchecked((byte)~x.m_value)); 104return new SqlByte((byte)iResult); 116return new SqlByte((byte)iResult); 128return new SqlByte((byte)iResult); 138return new SqlByte((byte)(x.m_value / y.m_value)); 151return new SqlByte((byte)(x.m_value % y.m_value)); 160return (x.IsNull || y.IsNull) ? Null : new SqlByte((byte)(x.m_value & y.m_value)); 165return (x.IsNull || y.IsNull) ? Null : new SqlByte((byte)(x.m_value | y.m_value)); 170return (x.IsNull || y.IsNull) ? Null : new SqlByte((byte)(x.m_value ^ y.m_value)); 180return x.IsNull ? Null : new SqlByte(x.ByteValue); 189return x.IsNull ? Null : new SqlByte(checked((byte)x.ToInt32())); 201return x.IsNull ? Null : new SqlByte((byte)(x.Value)); 213return x.IsNull ? Null : new SqlByte((byte)(x.Value)); 225return x.IsNull ? Null : new SqlByte((byte)(x.Value)); 237return x.IsNull ? Null : new SqlByte((byte)(x.Value)); 249return x.IsNull ? Null : new SqlByte((byte)(x.Value)); 262return x.IsNull ? Null : new SqlByte(byte.Parse(x.Value, null)); 524public static readonly SqlByte Zero = new SqlByte(0); 525public static readonly SqlByte MinValue = new SqlByte(byte.MinValue); 526public static readonly SqlByte MaxValue = new SqlByte(byte.MaxValue);