Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
49 references to IsNull
System.Data.Common (49)
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
193return (_values[record].IsNull);
System\Data\SQLTypes\SQLBoolean.cs (1)
244return x.IsNull ? Null : new SqlBoolean(x.Value != 0);
System\Data\SQLTypes\SQLByte.cs (2)
195if (x.IsNull) 201return x.IsNull ? Null : new SqlByte((byte)(x.Value));
System\Data\SQLTypes\SQLDecimal.cs (1)
1755return x.IsNull ? Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
174return x.IsNull ? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (38)
73return IsNull ? SQLResource.NullString : m_value.ToString((IFormatProvider)null!); 87return x.IsNull ? Null : new SqlInt16((short)-x.m_value); 92return x.IsNull ? Null : new SqlInt16((short)~x.m_value); 100if (x.IsNull || y.IsNull) 112if (x.IsNull || y.IsNull) 124if (x.IsNull || y.IsNull) 137if (x.IsNull || y.IsNull) 153if (x.IsNull || y.IsNull) 170return (x.IsNull || y.IsNull) ? Null : new SqlInt16((short)(x.m_value & y.m_value)); 175return (x.IsNull || y.IsNull) ? Null : new SqlInt16(unchecked((short)((ushort)x.m_value | (ushort)y.m_value))); 180return (x.IsNull || y.IsNull) ? Null : new SqlInt16((short)(x.m_value ^ y.m_value)); 272return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value); 282return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value); 287return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value); 292return (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); 465if (IsNull) 466return value.IsNull ? 0 : -1; 467else if (value.IsNull) 483other.IsNull || IsNull ? other.IsNull && IsNull : 487public override int GetHashCode() => IsNull ? 0 : Value.GetHashCode(); 509if (IsNull)
System\Data\SQLTypes\SQLInt32.cs (1)
203return x.IsNull ? Null : new SqlInt32(x.Value);
System\Data\SQLTypes\SQLInt64.cs (1)
252return x.IsNull ? Null : new SqlInt64(x.Value);
System\Data\SQLTypes\SQLMoney.cs (1)
325return x.IsNull ? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
179return x.IsNull ? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
472return x.IsNull ? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));