Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
49 references to IsNull
System.Data.Common (49)
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
193
return (_values[record].
IsNull
);
System\Data\SQLTypes\SQLBoolean.cs (1)
244
return x.
IsNull
? Null : new SqlBoolean(x.Value != 0);
System\Data\SQLTypes\SQLByte.cs (2)
195
if (x.
IsNull
)
201
return x.
IsNull
? Null : new SqlByte((byte)(x.Value));
System\Data\SQLTypes\SQLDecimal.cs (1)
1755
return x.
IsNull
? Null : new SqlDecimal(x.Value);
System\Data\SQLTypes\SQLDouble.cs (1)
174
return x.
IsNull
? Null : new SqlDouble(x.Value);
System\Data\SQLTypes\SQLInt16.cs (38)
73
return
IsNull
? SQLResource.NullString : m_value.ToString((IFormatProvider)null!);
87
return x.
IsNull
? Null : new SqlInt16((short)-x.m_value);
92
return x.
IsNull
? Null : new SqlInt16((short)~x.m_value);
100
if (x.
IsNull
|| y.
IsNull
)
112
if (x.
IsNull
|| y.
IsNull
)
124
if (x.
IsNull
|| y.
IsNull
)
137
if (x.
IsNull
|| y.
IsNull
)
153
if (x.
IsNull
|| y.
IsNull
)
170
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlInt16((short)(x.m_value & y.m_value));
175
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlInt16(unchecked((short)((ushort)x.m_value | (ushort)y.m_value)));
180
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlInt16((short)(x.m_value ^ y.m_value));
272
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value == y.m_value);
282
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value < y.m_value);
287
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x.m_value > y.m_value);
292
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);
465
if (
IsNull
)
466
return value.
IsNull
? 0 : -1;
467
else if (value.
IsNull
)
483
other.
IsNull
||
IsNull
? other.
IsNull
&&
IsNull
:
487
public override int GetHashCode() =>
IsNull
? 0 : Value.GetHashCode();
509
if (
IsNull
)
System\Data\SQLTypes\SQLInt32.cs (1)
203
return x.
IsNull
? Null : new SqlInt32(x.Value);
System\Data\SQLTypes\SQLInt64.cs (1)
252
return x.
IsNull
? Null : new SqlInt64(x.Value);
System\Data\SQLTypes\SQLMoney.cs (1)
325
return x.
IsNull
? Null : new SqlMoney(x.Value);
System\Data\SQLTypes\SQLSingle.cs (1)
179
return x.
IsNull
? Null : new SqlSingle(x.Value);
System\Data\SQLTypes\SQLString.cs (1)
472
return x.
IsNull
? Null : new SqlString((x.Value).ToString((IFormatProvider)null!));