Class EntitySchemaCurrentDateQueryFunction
The function of the current date expression.
Inheritance
Inherited Members
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
public class EntitySchemaCurrentDateQueryFunction : EntitySchemaBaseCurrentDateQueryFunction, IMetaItem, IMetaDataSerializable, ICloneable
Constructors
EntitySchemaCurrentDateQueryFunction(EntitySchemaCurrentDateQueryFunction)
Initializes the EntitySchemaCurrentDateQueryFunction instance that is a clone of the passed-in function.
Declaration
public EntitySchemaCurrentDateQueryFunction(EntitySchemaCurrentDateQueryFunction source)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaCurrentDateQueryFunction | source | The instance of the EntitySchemaCurrentDateQueryFunction function whose clone is being created. |
EntitySchemaCurrentDateQueryFunction(EntitySchemaQuery, Int32)
Initializes an instance of EntitySchemaCurrentDateQueryFunction with specified offset relatively to base date for a given schema query object.
Declaration
public EntitySchemaCurrentDateQueryFunction(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. |
EntitySchemaCurrentDateQueryFunction(EntitySchemaQuery, EntitySchemaQueryExpression, Int32)
Initializes an instance of EntitySchemaCurrentDateQueryFunction with specified offset relatively to base date for a given schema query object.
Declaration
public EntitySchemaCurrentDateQueryFunction(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. |
Methods
Clone()
Creates the clone of the current EntitySchemaCurrentDateQueryFunction 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 |