Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
47 references to IsNull
System.Data.Common (47)
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
194return (_values[record].IsNull);
System\Data\SQLTypes\SQLBoolean.cs (1)
238return x.IsNull ? Null : new SqlBoolean(x.Value != 0);
System\Data\SQLTypes\SQLByte.cs (37)
74return IsNull ? SQLResource.NullString : m_value.ToString((IFormatProvider)null!); 88return x.IsNull ? Null : new SqlByte(unchecked((byte)~x.m_value)); 97if (x.IsNull || y.IsNull) 109if (x.IsNull || y.IsNull) 121if (x.IsNull || y.IsNull) 133if (x.IsNull || y.IsNull) 146if (x.IsNull || y.IsNull) 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)); 268return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 278return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 283return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 288return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 293return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value); 464if (IsNull) 465return value.IsNull ? 0 : -1; 466else if (value.IsNull) 482other.IsNull || IsNull ? other.IsNull && IsNull : 486public override int GetHashCode() => IsNull ? 0 : Value.GetHashCode(); 508if (IsNull)
System\Data\SQLTypes\SQLDecimal.cs (1)
1749return x.IsNull ? Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
168return x.IsNull ? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (1)
194return x.IsNull ? Null : new SqlInt16(x.Value);
System\Data\SQLTypes\SQLInt32.cs (1)
197return x.IsNull ? Null : new SqlInt32(x.Value);
System\Data\SQLTypes\SQLInt64.cs (1)
246return x.IsNull ? Null : new SqlInt64(x.Value);
System\Data\SQLTypes\SQLMoney.cs (1)
319return x.IsNull ? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
172return x.IsNull ? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
466return x.IsNull ? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));