23 references to Null
System.Data (23)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (3)
591
result = SqlMoney.
Null
;
1093
SqlMoney.
Null
, // SqlDbType.Money
1101
SqlMoney.
Null
, // SqlDbType.SmallMoney
fx\src\data\System\Data\Common\SQLConvert.cs (1)
255
return SqlMoney.
Null
;
fx\src\data\System\Data\Common\SQLTypes\SQLMoneyStorage.cs (2)
25
: base(column, typeof(SqlMoney), SqlMoney.
Null
, SqlMoney.
Null
, StorageType.SqlMoney) {
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
600
return SqlMoney.
Null
;
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
401
else if (sqlType == typeof(SqlMoney)) return SqlMoney.
Null
;
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (15)
277
money = SqlMoney.
Null
;
295
return
Null
;
310
return(x.IsNull || y.IsNull) ?
Null
: new SqlMoney(checked(x.m_value + y.m_value), 0);
322
return(x.IsNull || y.IsNull) ?
Null
: new SqlMoney(checked(x.m_value - y.m_value), 0);
333
return (x.IsNull || y.IsNull) ?
Null
:
341
return (x.IsNull || y.IsNull) ?
Null
:
353
return x.IsNull ?
Null
: new SqlMoney((int)x.ByteValue);
361
return x.IsNull ?
Null
: new SqlMoney((int)x.Value);
369
return x.IsNull ?
Null
: new SqlMoney((int)x.Value);
377
return x.IsNull ?
Null
: new SqlMoney(x.Value);
385
return x.IsNull ?
Null
: new SqlMoney(x.Value);
396
return x.IsNull ?
Null
: new SqlMoney((double)x.Value);
404
return x.IsNull ?
Null
: new SqlMoney(x.Value);
412
return x.IsNull ? SqlMoney.
Null
: new SqlMoney(x.Value);
421
return x.IsNull ?
Null
: new SqlMoney(Decimal.Parse(x.Value,NumberStyles.Currency,null));