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