Class EntitySchemaStartOfCurrentYearQueryFunction
Function of the expression of the current year start date.
Inheritance
Inherited Members
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
public class EntitySchemaStartOfCurrentYearQueryFunction : EntitySchemaBaseCurrentDateQueryFunction, IMetaItem, IMetaDataSerializable, ICloneable
Constructors
EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaQuery, Int32)
Initializes an instance of EntitySchemaStartOfCurrentYearQueryFunction with specified offset relatively to base date for a given schema query object.
Declaration
public EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaQuery parentQuery, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaQuery | parentQuery | Request to schema object the function belongs to. |
System.Int32 | offset | Offset in days relatively to reference date. Default value is zero. |
EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaQuery, EntitySchemaQueryExpression, Int32)
Initializes an instance of EntitySchemaStartOfCurrentYearQueryFunction with specified offset relatively to base date for a given schema query object.
Declaration
public EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaQuery parentQuery, EntitySchemaQueryExpression expression, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaQuery | parentQuery | Request to schema object the function belongs to. |
EntitySchemaQueryExpression | expression | Query expression. |
System.Int32 | offset | Offset in days relatively to reference date. Default value is zero. |
EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaStartOfCurrentYearQueryFunction)
Initializes the EntitySchemaStartOfCurrentYearQueryFunction instance that is a clone of the passed-in expression function.
Declaration
public EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaStartOfCurrentYearQueryFunction source)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaStartOfCurrentYearQueryFunction | source | The instance of the EntitySchemaStartOfCurrentYearQueryFunction function whose clone is being created. |
Methods
Clone()
Creates the clone of the current EntitySchemaStartOfCurrentYearQueryFunction instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | The System.Object instance that is a clone of the current function instance. |
Overrides
GetCaption()
Gets the caption of the expression function.
Declaration
public override string GetCaption()
Returns
Type | Description |
---|---|
System.String | String of the function caption. |
Overrides
SpecifyValueExpressionParameterValue(DateTime)
Declaration
protected override DateTime SpecifyValueExpressionParameterValue(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value |
Returns
Type | Description |
---|---|
System.DateTime |