Platform Core .NET Assemblies API
DateDiffQueryFunction Constructor(DateDiffQueryFunctionInterval,IQueryColumnExpressionConvertible,IQueryColumnExpressionConvertible)
See Also  Send Feedback
Terrasoft.Core.DB Namespace > DateDiffQueryFunction Class > DateDiffQueryFunction Constructor : DateDiffQueryFunction Constructor(DateDiffQueryFunctionInterval,IQueryColumnExpressionConvertible,IQueryColumnExpressionConvertible)
interval
Unit of measurement of the date difference.
startDateExpression
An expression of the column containing the start date.
endDateExpression
An expression of the column containing the end date.

Glossary Item Box

Initializes the DateDiffQueryFunction instance with the specified parameters.

Syntax

 
C#
 
 

Parameters

interval
Unit of measurement of the date difference.
startDateExpression
An expression of the column containing the start date.
endDateExpression
An expression of the column containing the end date.

Exceptions

ExceptionDescription
Terrasoft.Common.ArgumentNullOrEmptyExceptionIf the null value is passed as the parameter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.