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