22 references to SqlMoney
System.Data (22)
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (2)
80
internal static readonly SqlMoney MaxSmallMoney = new
SqlMoney
( ( (Decimal)Int32.MaxValue ) / 10000 );
81
internal static readonly SqlMoney MinSmallMoney = new
SqlMoney
( ( (Decimal)Int32.MinValue ) / 10000 );
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (3)
1900
SetSqlMoney_Checked(sink, setters, i, metaData[i], new
SqlMoney
(reader.GetDecimal(i)));
1926
SetSqlMoney_Checked(sink, setters, i, metaData[i], new
SqlMoney
(reader.GetDecimal(i)));
2413
SetSqlMoney_Checked( sink, setters, ordinal, metaData, new
SqlMoney
(value) );
fx\src\data\System\Data\Common\SQLConvert.cs (1)
648
return new
SqlMoney
(XmlConvert.ToDecimal((string)value));
fx\src\data\System\Data\Sql\SqlMetaData.cs (3)
772
VerifyMoneyRange(new
SqlMoney
(value));
1454
private static readonly SqlMoney x_smSmallMax = new
SqlMoney
(((Decimal)Int32.MaxValue)/10000);
1455
private static readonly SqlMoney x_smSmallMin = new
SqlMoney
(((Decimal)Int32.MinValue)/10000);
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
5835
mt = MetaType.GetMetaTypeFromValue(new
SqlMoney
((decimal)value));
6186
SqlMoney m = new
SqlMoney
(value);
6225
SqlMoney m = new
SqlMoney
(value);
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (10)
128
public SqlMoney(double value) :
this
(new Decimal(value)) {
224
return new
SqlMoney
(x);
234
return new
SqlMoney
(new Decimal(x));
280
money = new
SqlMoney
(d);
283
money = new
SqlMoney
(Decimal.Parse(s, NumberStyles.Currency, NumberFormatInfo.CurrentInfo));
334
new
SqlMoney
(Decimal.Multiply(x.ToDecimal(), y.ToDecimal()));
342
new
SqlMoney
(Decimal.Divide(x.ToDecimal(), y.ToDecimal()));
412
return x.IsNull ? SqlMoney.Null : new
SqlMoney
(x.Value);
421
return x.IsNull ? Null : new
SqlMoney
(Decimal.Parse(x.Value,NumberStyles.Currency,null));
637
SqlMoney money = new
SqlMoney
(XmlConvert.ToDecimal(reader.ReadElementString()));