Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
50 references to IsNull
System.Data.Common (50)
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
193return (_values[record].IsNull);
System\Data\SQLTypes\SQLBoolean.cs (1)
250return x.IsNull ? Null : new SqlBoolean(x.Value != 0);
System\Data\SQLTypes\SQLByte.cs (2)
207if (x.IsNull) 213return x.IsNull ? Null : new SqlByte((byte)(x.Value));
System\Data\SQLTypes\SQLDecimal.cs (1)
1761return x.IsNull ? Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
180return x.IsNull ? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (1)
202if (x.IsNull)
System\Data\SQLTypes\SQLInt32.cs (39)
53if (IsNull) 74return IsNull ? SQLResource.NullString : m_value.ToString((IFormatProvider)null!); 89return x.IsNull ? Null : new SqlInt32(-x.m_value); 94return x.IsNull ? Null : new SqlInt32(~x.m_value); 102if (x.IsNull || y.IsNull) 114if (x.IsNull || y.IsNull) 126if (x.IsNull || y.IsNull) 139if (x.IsNull || y.IsNull) 155if (x.IsNull || y.IsNull) 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); 287return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 297return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 302return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 307return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 312return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value); 480if (IsNull) 481return value.IsNull ? 0 : -1; 482else if (value.IsNull) 498other.IsNull || IsNull ? other.IsNull && IsNull : 502public override int GetHashCode() => IsNull ? 0 : Value.GetHashCode(); 524if (IsNull)
System\Data\SQLTypes\SQLInt64.cs (1)
258return x.IsNull ? Null : new SqlInt64(x.Value);
System\Data\SQLTypes\SQLMoney.cs (1)
331return x.IsNull ? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
186return x.IsNull ? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
478return x.IsNull ? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));