Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
40 references to IsNull
System.Data.Common (40)
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
193
return (_values[record].
IsNull
);
System\Data\SQLTypes\SQLBoolean.cs (1)
262
return x.
IsNull
? Null : new SqlBoolean(x.Value != 0.0);
System\Data\SQLTypes\SQLByte.cs (2)
243
if (x.
IsNull
)
249
return x.
IsNull
? Null : new SqlByte((byte)(x.Value));
System\Data\SQLTypes\SQLDecimal.cs (1)
1788
return x.
IsNull
? SqlDecimal.Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (29)
80
return
IsNull
? SQLResource.NullString : m_value.ToString((IFormatProvider)null!);
95
return x.
IsNull
? Null : new SqlDouble(-x.m_value);
104
if (x.
IsNull
|| y.
IsNull
)
117
if (x.
IsNull
|| y.
IsNull
)
130
if (x.
IsNull
|| y.
IsNull
)
143
if (x.
IsNull
|| y.
IsNull
)
222
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value);
232
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value);
237
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value);
242
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value);
247
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
380
if (
IsNull
)
381
return value.
IsNull
? 0 : -1;
382
else if (value.
IsNull
)
398
other.
IsNull
||
IsNull
? other.
IsNull
&&
IsNull
:
402
public override int GetHashCode() =>
IsNull
? 0 : Value.GetHashCode();
424
if (
IsNull
)
System\Data\SQLTypes\SQLInt16.cs (1)
241
if (x.
IsNull
)
System\Data\SQLTypes\SQLInt32.cs (1)
237
if (x.
IsNull
)
System\Data\SQLTypes\SQLInt64.cs (1)
279
if (x.
IsNull
)
System\Data\SQLTypes\SQLMoney.cs (1)
352
return x.
IsNull
? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
216
return x.
IsNull
? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
496
return x.
IsNull
? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));