Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
50 references to IsNull
System.Data.Common (50)
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
193
return (_values[record].
IsNull
);
System\Data\SQLTypes\SQLBoolean.cs (1)
250
return x.
IsNull
? Null : new SqlBoolean(x.Value != 0);
System\Data\SQLTypes\SQLByte.cs (2)
207
if (x.
IsNull
)
213
return x.
IsNull
? Null : new SqlByte((byte)(x.Value));
System\Data\SQLTypes\SQLDecimal.cs (1)
1761
return x.
IsNull
? Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
180
return x.
IsNull
? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (1)
202
if (x.
IsNull
)
System\Data\SQLTypes\SQLInt32.cs (39)
53
if (
IsNull
)
74
return
IsNull
? SQLResource.NullString : m_value.ToString((IFormatProvider)null!);
89
return x.
IsNull
? Null : new SqlInt32(-x.m_value);
94
return x.
IsNull
? Null : new SqlInt32(~x.m_value);
102
if (x.
IsNull
|| y.
IsNull
)
114
if (x.
IsNull
|| y.
IsNull
)
126
if (x.
IsNull
|| y.
IsNull
)
139
if (x.
IsNull
|| y.
IsNull
)
155
if (x.
IsNull
|| y.
IsNull
)
172
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlInt32(x.m_value & y.m_value);
177
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlInt32(x.m_value | y.m_value);
182
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlInt32(x.m_value ^ y.m_value);
287
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value);
297
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value);
302
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value);
307
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value <= y.m_value);
312
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value >= y.m_value);
480
if (
IsNull
)
481
return value.
IsNull
? 0 : -1;
482
else if (value.
IsNull
)
498
other.
IsNull
||
IsNull
? other.
IsNull
&&
IsNull
:
502
public override int GetHashCode() =>
IsNull
? 0 : Value.GetHashCode();
524
if (
IsNull
)
System\Data\SQLTypes\SQLInt64.cs (1)
258
return x.
IsNull
? Null : new SqlInt64(x.Value);
System\Data\SQLTypes\SQLMoney.cs (1)
331
return x.
IsNull
? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
186
return x.
IsNull
? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
478
return x.
IsNull
? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));