Class Divide
The Divide function.
Implements
Inherited Members
Namespace: SuperOfficeDataSQL
Assembly: SoDataBase.dll
Syntax
public sealed class Divide : MathematicalExpression, ICloneable
Remarks
The function will not work with FieldDataType of type string or stringblob.
Constructors
Divide(Argument, Argument)
Constructor.
Declaration
public Divide(Argument left, Argument right)
Parameters
| Type | Name | Description |
|---|---|---|
| Argument | left | The left-hand-side of the divide-operation. |
| Argument | right | The right-hand-side of the divide-operation. |
Remarks
Will divide the right-hand-side and the left-hand-side. The FieldDataTypes must be the same on both sides.
Divide(params Argument[])
Initializes a new instance of the Divide class.
Declaration
public Divide(params Argument[] arguments)
Parameters
| Type | Name | Description |
|---|---|---|
| Argument | arguments | An array of Arguments to divide. |
Remarks
Makes it possible to Divide several arguments with each other.
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 DIVIDE node. The sub-elements are shared |
Overrides
ToString()
String output.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | a / b |