Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
40 references to IsNull
System.Data.Common (40)
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
191return (_values[record].IsNull);
System\Data\SQLTypes\SQLBoolean.cs (1)
268return x.IsNull ? Null : new SqlBoolean(x.Value != 0.0);
System\Data\SQLTypes\SQLByte.cs (2)
231if (x.IsNull) 237return x.IsNull ? Null : new SqlByte((byte)(x.Value));
System\Data\SQLTypes\SQLDecimal.cs (1)
1782return x.IsNull ? SqlDecimal.Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
192return x.IsNull ? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (1)
228if (x.IsNull)
System\Data\SQLTypes\SQLInt32.cs (1)
224if (x.IsNull)
System\Data\SQLTypes\SQLInt64.cs (1)
266if (x.IsNull)
System\Data\SQLTypes\SQLMoney.cs (1)
346return x.IsNull ? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (29)
81return IsNull ? SQLResource.NullString : _value.ToString((IFormatProvider)null!); 96return x.IsNull ? Null : new SqlSingle(-x._value); 105if (x.IsNull || y.IsNull) 118if (x.IsNull || y.IsNull) 131if (x.IsNull || y.IsNull) 144if (x.IsNull || y.IsNull) 231return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value == y._value); 241return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value < y._value); 246return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value > y._value); 251return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value <= y._value); 256return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x._value >= y._value); 390if (IsNull) 391return value.IsNull ? 0 : -1; 392else if (value.IsNull) 408other.IsNull || IsNull ? other.IsNull && IsNull : 412public override int GetHashCode() => IsNull ? 0 : Value.GetHashCode(); 434if (IsNull)
System\Data\SQLTypes\SQLString.cs (1)
490return x.IsNull ? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));