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 Entity
Declaration
public EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaQuery parentQuery, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
Entity |
parentQuery | Request to schema object the function belongs to. |
System. |
offset | Offset in days relatively to reference date. Default value is zero. |
EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaQuery, EntitySchemaQueryExpression, Int32)
Initializes an instance of Entity
Declaration
public EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaQuery parentQuery, EntitySchemaQueryExpression expression, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
Entity |
parentQuery | Request to schema object the function belongs to. |
Entity |
expression | Query expression. |
System. |
offset | Offset in days relatively to reference date. Default value is zero. |
EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaStartOfCurrentYearQueryFunction)
Initializes the Entity
Declaration
public EntitySchemaStartOfCurrentYearQueryFunction(EntitySchemaStartOfCurrentYearQueryFunction source)
Parameters
Type | Name | Description |
---|---|---|
Entity |
source | The instance of the Entity |
Methods
Clone()
Creates the clone of the current Entity
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System. |
The System. |
Overrides
GetCaption()
Gets the caption of the expression function.
Declaration
public override string GetCaption()
Returns
Type | Description |
---|---|
System. |
String of the function caption. |
Overrides
SpecifyValueExpressionParameterValue(DateTime)
Declaration
protected override DateTime SpecifyValueExpressionParameterValue(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value |
Returns
Type | Description |
---|---|
System. |