Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
49 references to IsNull
System.Data.Common (49)
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
194return (_values[record].IsNull);
System\Data\SQLTypes\SQLBoolean.cs (1)
256return x.IsNull ? Null : new SqlBoolean(x.Value != 0);
System\Data\SQLTypes\SQLByte.cs (2)
219if (x.IsNull) 225return x.IsNull ? Null : new SqlByte((byte)(x.Value));
System\Data\SQLTypes\SQLDecimal.cs (1)
1767return x.IsNull ? Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
186return x.IsNull ? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (1)
215if (x.IsNull)
System\Data\SQLTypes\SQLInt32.cs (1)
211if (x.IsNull)
System\Data\SQLTypes\SQLInt64.cs (38)
75return IsNull ? SQLResource.NullString : m_value.ToString((IFormatProvider)null!); 89return x.IsNull ? Null : new SqlInt64(-x.m_value); 94return x.IsNull ? Null : new SqlInt64(~x.m_value); 102if (x.IsNull || y.IsNull) 114if (x.IsNull || y.IsNull) 126if (x.IsNull || y.IsNull) 189if (x.IsNull || y.IsNull) 205if (x.IsNull || y.IsNull) 222return (x.IsNull || y.IsNull) ? Null : new SqlInt64(x.m_value & y.m_value); 227return (x.IsNull || y.IsNull) ? Null : new SqlInt64(x.m_value | y.m_value); 232return (x.IsNull || y.IsNull) ? Null : new SqlInt64(x.m_value ^ y.m_value); 346return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 356return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 361return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 366return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value); 371return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value); 539if (IsNull) 540return value.IsNull ? 0 : -1; 541else if (value.IsNull) 557other.IsNull || IsNull ? other.IsNull && IsNull : 561public override int GetHashCode() => IsNull ? 0 : Value.GetHashCode(); 583if (IsNull)
System\Data\SQLTypes\SQLMoney.cs (1)
337return x.IsNull ? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
193return x.IsNull ? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
484return x.IsNull ? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));