Name
SqlMoney
Synopsis
A structure that represents a currency value ranging from
-263 (-922,337,203,685,477.5808) to
263-1 (922,337,203,685,477.5807) with an
accuracy to a ten-thousandth of a unit. It maps to the SQL Server
money
data type.
public struct SqlMoney : INullable, IComparable { // Public Constructors public SqlMoney(decimalvalue
); public SqlMoney(doublevalue
); public SqlMoney(intvalue
); public SqlMoney(longvalue
); // Public Static Fields public static readonly SqlMoney MaxValue; // =922337203685477.5807 public static readonly SqlMoney MinValue; // =-922337203685477.5808 public static readonly SqlMoney Null; // =Null public static readonly SqlMoney Zero; // =0 // Public Instance Properties public bool IsNull{get; } // implements INullable public decimal Value{get; } // Public Static Methods public static SqlMoney Add(SqlMoneyx
, SqlMoneyy
); public static SqlMoney Divide(SqlMoneyx
, SqlMoneyy
); public static SqlBoolean Equals(SqlMoneyx
, SqlMoneyy
); public static SqlBoolean GreaterThan(SqlMoneyx
, SqlMoneyy
); public static SqlBoolean GreaterThanOrEqual(SqlMoneyx
, SqlMoneyy
); public static SqlBoolean LessThan(SqlMoneyx
, SqlMoneyy
); public static SqlBoolean LessThanOrEqual(SqlMoneyx
, SqlMoneyy
); public static SqlMoney Multiply(SqlMoneyx
, SqlMoneyy
); public static SqlBoolean NotEquals(SqlMoneyx
, SqlMoneyy
); public static SqlMoney Parse(strings
); public static SqlMoney Subtract(SqlMoneyx
, SqlMoneyy
); public static SqlMoney operator *(SqlMoneyx
, SqlMoney ...
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.