SqlMoney Operators and Type Conversions
.NET Framework 4
The SqlMoney type exposes the following members.
| Name | Description | |
|---|---|---|
|
Addition | Calculates the sum of the two SqlMoney parameters. |
|
Division | The division operator divides the first SqlMoney parameter by the second. |
|
Equality | Performs a logical comparison of the two SqlMoney parameters to determine whether they are equal. |
|
Explicit(Double to SqlMoney) | This implicit operator converts the supplied SqlDouble parameter to SqlMoney. |
|
Explicit(SqlBoolean to SqlMoney) | This implicit operator converts the supplied SqlBoolean parameter to SqlMoney. |
|
Explicit(SqlDecimal to SqlMoney) | This operator converts the supplied SqlDecimal parameter to SqlMoney. |
|
Explicit(SqlDouble to SqlMoney) | This operator converts the supplied SqlDouble parameter to SqlMoney. |
|
Explicit(SqlMoney to Decimal) | Converts the specified SqlMoney structure to Decimal. |
|
Explicit(SqlSingle to SqlMoney) | This operator converts the supplied SqlSingle parameter to SqlMoney. |
|
Explicit(SqlString to SqlMoney) | This operator converts the SqlString parameter to SqlMoney. |
|
GreaterThan | Performs a logical comparison of the two SqlMoney parameters to determine whether the first is greater than the second. |
|
GreaterThanOrEqual | Performs a logical comparison of the two SqlMoney parameters to determine whether the first is greater than or equal to the second. |
|
Implicit(Decimal to SqlMoney) | Converts the Decimal parameter to SqlMoney. |
|
Implicit(Int64 to SqlMoney) | This implicit operator converts the supplied Int64 parameter to SqlMoney. |
|
Implicit(SqlByte to SqlMoney) | This implicit operator converts the supplied SqlByte parameter to SqlMoney. |
|
Implicit(SqlInt16 to SqlMoney) | This implicit operator converts the supplied SqlInt16 parameter to SqlMoney. |
|
Implicit(SqlInt32 to SqlMoney) | This implicit operator converts the supplied SqlInt32 parameter to SqlMoney. |
|
Implicit(SqlInt64 to SqlMoney) | This implicit operator converts the supplied SqlInt64 parameter to SqlMoney. |
|
Inequality | Performs a logical comparison of the two SqlMoney parameters to determine whether they are not equal. |
|
LessThan | Performs a logical comparison of the two SqlMoney parameters to determine whether the first is less than the second. |
|
LessThanOrEqual | Performs a logical comparison of the two SqlMoney parameters to determine whether the first is less than or equal to the second. |
|
Multiply | The multiplicaion operator calculates the product of the two SqlMoney parameters. |
|
Subtraction | The subtraction operator subtracts the second SqlMoney parameter from the first. |
|
UnaryNegation | The unary minus operator negates the SqlMoney parameter. |