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)
1773
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
)
213
if (
IsNull
)
260
if (x.
IsNull
)
275
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlMoney(checked(x._value + y._value), 0);
287
return (x.
IsNull
|| y.
IsNull
) ? Null : new SqlMoney(checked(x._value - y._value), 0);
297
return (x.
IsNull
|| y.
IsNull
) ? Null :
303
return (x.
IsNull
|| y.
IsNull
) ? Null :
374
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x._value == y._value);
384
return (x.
IsNull
|| y.
IsNull
) ? SqlBoolean.Null : new SqlBoolean(x._value < y._value);
389
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);
534
if (
IsNull
)
535
return value.
IsNull
? 0 : -1;
536
else if (value.
IsNull
)
552
other.
IsNull
||
IsNull
? other.
IsNull
&&
IsNull
:
558
IsNull
? 0 : _value.GetHashCode();
581
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());