Class CurrentDateTimeQueryFunction
The function of the current date and time expression.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.DB
Assembly: Terrasoft.Core.dll
Syntax
public class CurrentDateTimeQueryFunction : QueryFunction, IQueryColumnExpressionConvertible, IQueryColumnExpressionsCollector, ICloneable
Constructors
CurrentDateTimeQueryFunction()
Initializes a new CurrentDateTimeQueryFunction instance.
Declaration
public CurrentDateTimeQueryFunction()
CurrentDateTimeQueryFunction(CurrentDateTimeQueryFunction)
Initializes a new CurrentDateTimeQueryFunction instance that is a clone of the passed-in function.
Declaration
public CurrentDateTimeQueryFunction(CurrentDateTimeQueryFunction source)
Parameters
Type | Name | Description |
---|---|---|
CurrentDateTimeQueryFunction | source | The CurrentDateTimeQueryFunction function whose clone is being created. |
Methods
AddQueryColumnExpressions(QueryColumnExpressionCollection)
Declaration
protected override void AddQueryColumnExpressions(QueryColumnExpressionCollection collection)
Parameters
Type | Name | Description |
---|---|---|
QueryColumnExpressionCollection | collection |
Overrides
BuildSqlText(StringBuilder, DBEngine)
Generates the query text, using the specified System.Text.StringBuilder instance and the DBEngine query builder.
Declaration
public override void BuildSqlText(StringBuilder sb, DBEngine dbEngine)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | sb | The System.Text.StringBuilder instance used to create query text. |
DBEngine | dbEngine | The instance of the builder of the database queries. |
Overrides
Clone()
Creates the clone of the current CurrentDateTimeQueryFunction instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A new CurrentDateTimeQueryFunction instance that is a clone of the current instance. |
Overrides
Implements
System.ICloneable