Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
47 references to IsNull
System.Data.Common (47)
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
194
return (_values[record].
IsNull
);
System\Data\SQLTypes\SQLBoolean.cs (1)
238
return x.
IsNull
? Null : new SqlBoolean(x.Value != 0);
System\Data\SQLTypes\SQLByte.cs (37)
74
return
IsNull
? SQLResource.NullString : m_value.ToString((IFormatProvider)null!);
88
return x.
IsNull
? Null : new SqlByte(unchecked((byte)~x.m_value));
97
if (x.
IsNull
|| y.
IsNull
)
109
if (x.
IsNull
|| y.
IsNull
)
121
if (x.
IsNull
|| y.
IsNull
)
133
if (x.
IsNull
|| y.
IsNull
)
146
if (x.
IsNull
|| y.
IsNull
)
160
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlByte((byte)(x.m_value & y.m_value));
165
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlByte((byte)(x.m_value | y.m_value));
170
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlByte((byte)(x.m_value ^ y.m_value));
268
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value);
278
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value);
283
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value);
288
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value);
293
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
464
if (
IsNull
)
465
return value.
IsNull
? 0 : -1;
466
else if (value.
IsNull
)
482
other.
IsNull
||
IsNull
? other.
IsNull
&&
IsNull
:
486
public override int GetHashCode() =>
IsNull
? 0 : Value.GetHashCode();
508
if (
IsNull
)
System\Data\SQLTypes\SQLDecimal.cs (1)
1749
return x.
IsNull
? Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
168
return x.
IsNull
? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (1)
194
return x.
IsNull
? Null : new SqlInt16(x.Value);
System\Data\SQLTypes\SQLInt32.cs (1)
197
return x.
IsNull
? Null : new SqlInt32(x.Value);
System\Data\SQLTypes\SQLInt64.cs (1)
246
return x.
IsNull
? Null : new SqlInt64(x.Value);
System\Data\SQLTypes\SQLMoney.cs (1)
319
return x.
IsNull
? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
172
return x.
IsNull
? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
466
return x.
IsNull
? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));