Show / Hide Table of Contents

Class DateAdd

Argument function to add a specified interval to a date

Inheritance
object
QueryElement
Argument
ArgumentFunction
NonCoercedArgumentFunction
DateTimeArgumentFunction
DateAdd
Implements
ICloneable
Inherited Members
ArgumentFunction.GetMainField()
ArgumentFunction.GetReferencedFields()
ArgumentFunction.ArgumentObject
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(params Argument[])
Argument.HasAny(params Argument[])
Argument.HasAll(params Argument[])
Argument.MissingAny(params Argument[])
Argument.MissingAll(params Argument[])
Argument.IsNull()
Argument.IsNotNull()
Argument.NotIn(params Argument[])
Argument.HasFlag(Argument)
Argument.HasNoFlag(Argument)
Argument.ToArgumentArray<T>(T[])
Argument.ToArgumentArray<T>(T[], bool)
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 class DateAdd : DateTimeArgumentFunction, ICloneable

Constructors

DateAdd(DatePart, Argument, Argument)

Argument function to add a specified interval to a date

Declaration
public DateAdd(DateAdd.DatePart part, Argument number, Argument datetime)
Parameters
Type Name Description
DateAdd.DatePart part
Argument number
Argument datetime

Properties

LeftArg

Argument function to add a specified interval to a date

Declaration
public Argument LeftArg { get; }
Property Value
Type Description
Argument

Part

Argument function to add a specified interval to a date

Declaration
public DateAdd.DatePart Part { get; }
Property Value
Type Description
DateAdd.DatePart

RightArg

Argument function to add a specified interval to a date

Declaration
public Argument RightArg { get; }
Property Value
Type Description
Argument

Methods

Clone()

Creates a copy of the query elements, but shares parameter values with the original, so it is not a complete copy.

Declaration
public override object Clone()
Returns
Type Description
object

Copy of all the restrictions/joins

Overrides
QueryElement.Clone()
Remarks

This method is used by the SentryQueryUpdater to modify a query with sentry extensions without affecting the original query.

DatePartToString(DatePart)

Argument function to add a specified interval to a date

Declaration
public static string DatePartToString(DateAdd.DatePart part)
Parameters
Type Name Description
DateAdd.DatePart part
Returns
Type Description
string

ToString()

Argument function to add a specified interval to a date

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

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