Show / Hide Table of Contents

Class Divide

The Divide function.

Inheritance
Object
QueryElement
Argument
MathematicalExpression
Divide
Implements
ICloneable
Inherited Members
MathematicalExpression._args
MathematicalExpression.ValidateFieldInfoParameter(FieldInfo, Parameter)
MathematicalExpression.ValidateParameterArgumentsForZeroValue(Parameter, Parameter)
MathematicalExpression.ValidateArgumentCollection()
MathematicalExpression.GetMainField()
MathematicalExpression.Left
MathematicalExpression.Right
MathematicalExpression.Arguments
Argument.Equal(Argument)
Argument.UnEqual(Argument)
Argument.LessThan(Argument)
Argument.LessThanOrEqual(Argument)
Argument.GreaterThan(Argument)
Argument.GreaterThanOrEqual(Argument)
Argument.Like(Argument)
Argument.Like(String)
Argument.NotLike(Argument)
Argument.NotBetween(Argument, Argument)
Argument.Between(Argument, Argument)
Argument.In(Argument[])
Argument.HasAny(Argument[])
Argument.HasAll(Argument[])
Argument.MissingAny(Argument[])
Argument.MissingAll(Argument[])
Argument.IsNull()
Argument.IsNotNull()
Argument.NotIn(Argument[])
Argument.ToArgumentArray<T>(T[])
Argument.ToArgumentArray<T>(T[], Boolean)
Argument.GetSubElements()
Argument.Alias
Argument.DataType
Argument.Size
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.Data.SQL
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(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
QueryElement.Clone()

ToString()

String output.

Declaration
public override string ToString()
Returns
Type Description
String

a / b

Overrides
MathematicalExpression.ToString()

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top