Implemented interface member:
property
IsNull
System.Data.SqlTypes.INullable.IsNull
42 references to IsNull
System.Data.Common (42)
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
193
return (_values[record].
IsNull
);
System\Data\SQLTypes\SQLBoolean.cs (1)
274
return x.
IsNull
? Null : (x != SqlMoney.Zero);
System\Data\SQLTypes\SQLByte.cs (1)
189
return x.
IsNull
? Null : new SqlByte(checked((byte)x.ToInt32()));
System\Data\SQLTypes\SQLDecimal.cs (1)
1780
return x.
IsNull
? Null : new SqlDecimal(x.ToDecimal());
System\Data\SQLTypes\SQLDouble.cs (1)
198
return x.
IsNull
? Null : new SqlDouble(x.ToDouble());
System\Data\SQLTypes\SQLInt16.cs (1)
254
return x.
IsNull
? Null : new SqlInt16(checked((short)x.ToInt32()));
System\Data\SQLTypes\SQLInt32.cs (1)
250
return x.
IsNull
? Null : new SqlInt32(x.ToInt32());
System\Data\SQLTypes\SQLInt64.cs (1)
292
return x.
IsNull
? Null : new SqlInt64(x.ToInt64());
System\Data\SQLTypes\SQLMoney.cs (32)
131
if (
IsNull
)
147
if (
IsNull
)
202
if (
IsNull
)
218
if (
IsNull
)
270
if (x.
IsNull
)
285
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlMoney(checked(x._value + y._value), 0);
297
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlMoney(checked(x._value - y._value), 0);
307
return (x.
IsNull
|| y.
IsNull
) ? Null :
313
return (x.
IsNull
|| y.
IsNull
) ? Null :
384
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x._value == y._value);
394
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x._value < y._value);
399
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x._value > y._value);
404
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x._value <= y._value);
409
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x._value >= y._value);
544
if (
IsNull
)
545
return value.
IsNull
? 0 : -1;
546
else if (value.
IsNull
)
562
other.
IsNull
||
IsNull
? other.
IsNull
&&
IsNull
:
568
IsNull
? 0 : _value.GetHashCode();
591
if (
IsNull
)
System\Data\SQLTypes\SQLSingle.cs (1)
199
return x.
IsNull
? Null : new SqlSingle(x.ToDouble());
System\Data\SQLTypes\SQLString.cs (1)
508
return x.
IsNull
? Null : new SqlString(x.ToString());