Class Multiply
The Multiply function.
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public sealed class Multiply : MathematicalExpression, ICloneable
Remarks
The function will not work with FieldDataType of type string or blob.
Constructors
Multiply(Argument, Argument)
Initializes a new instance of the Multiply class, and takes left and right argument as in-parameters.
Declaration
public Multiply(Argument left, Argument right)
Parameters
Type | Name | Description |
---|---|---|
Argument | left | The left-hand-side of the multiply-operation. |
Argument | right | The right-hand-side of the multiply-operation. |
Remarks
NetServer does not validate the numbers the multiply-operation is used on when multiplying columns in the database. NetServer validates that the value of any in-parameter is unequal to 0 (zero).
Multiply(params Argument[])
Initializes a new instance of the Multiply class, and takes arguments (array) as in-parameters.
Declaration
public Multiply(params Argument[] arguments)
Parameters
Type | Name | Description |
---|---|---|
Argument[] | arguments | An array of Arguments to divide. |
Remarks
Makes it possible to multiply several arguments with each other. The constructor will make sure that the datatype in the parent-class (Argument) is set properly.
Methods
Clone()
Clone the query. Parameter values are shared between the original and the clone.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
object | Copy of the and node. The sub-elements are shared |
Overrides
Remarks
This method is used by the SentryQueryUpdater to modify a query with sentry extensions without affecting the original query.
ToString()
String output.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | a * b |
Overrides
Remarks
The function will not work with FieldDataType of type string or blob.