Show / Hide Table of Contents

Class Or

Class containing the necessary functions for the OR-operator

Inheritance
Object
QueryElement
Restriction
Bool
Or
Implements
ICloneable
Inherited Members
Bool.GetSubElements()
Bool.Left
Bool.Right
Restriction.And(Restriction)
Restriction.Or(Restriction)
Restriction.RestrictionAnd(Restriction, Restriction)
Restriction.RestrictionOr(Restriction, Restriction)
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 Or : Bool, ICloneable

Constructors

Or(Restriction, Restriction)

Initializes a new instance of the Or class, and takes left and right argument as in-parameters.

Declaration
public Or(Restriction left, Restriction right)
Parameters
Type Name Description
Restriction left

left side restriction

Restriction right

right side restriction

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 and its sub-elements

Overrides
QueryElement.Clone()
Remarks

This method is used by the 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 OR b

Overrides
Object.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