Class Greatest
The Greatest function.
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public sealed class Greatest : MathematicalExpression, ICloneable
Constructors
Greatest(Argument, Argument)
Constructor.
Declaration
public Greatest(Argument left, Argument right)
Parameters
Type | Name | Description |
---|---|---|
Argument | left | The left-hand-side of the Greatest-operation.. |
Argument | right | The right-hand-side of the Greatest-operation. |
Remarks
Will return the greatest of the arguments, and it works for text, number, dates etc. The FieldDataTypes must be the same on both sides.
Greatest(params Argument[])
Overridden constructor.
Declaration
public Greatest(params Argument[] arguments)
Parameters
Type | Name | Description |
---|---|---|
Argument[] | arguments | An array of Arguments to Greatest. |
Remarks
Makes it possible to Greatest several arguments to 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 and node. The sub-elements are shared |
Overrides
ToString()
String output.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | a + b |