Platform Core .NET Assemblies API
CreateDatePartFunction Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > EntitySchemaQuery Class : CreateDatePartFunction Method
interval
The datepart returned by the function.
columnPath
Path to column in relation to the root schema.

Glossary Item Box

Gets an instance of the EntitySchemaDatePartQueryFunction function that returns a specified date range for a column value that is located along the specified path relative to the root schema.

Syntax

 
C#
 
 

Parameters

interval
The datepart returned by the function.
columnPath
Path to column in relation to the root schema.

Return Value

The instance of the created EntitySchemaDatePartQueryFunction function.

Exceptions

ExceptionDescription
Terrasoft.Common.ArgumentNullOrEmptyExceptionIf the empty value or null value is passed as the columnPath 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.