Class SqlInsertSyncDateTemplate
Class to produce the template output
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: TimeCockpit.Data.Database.StringTemplates.SubTemplates
Assembly: TimeCockpit.Data.dll
Syntax
public class SqlInsertSyncDateTemplate : SqlTransformBase
Constructors
SqlInsertSyncDateTemplate(StringBuilder, SqlDialect)
Initializes a new instance of the SqlInsertSyncDateTemplate class.
Declaration
public SqlInsertSyncDateTemplate(StringBuilder generationEnvironment, SqlDialect dialect)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Text.StringBuilder | generationEnvironment | the stringbuilder to write to. |
| SqlDialect | dialect | the dialect to use. |
SqlInsertSyncDateTemplate(SqlDialect)
Initializes a new instance of the SqlInsertSyncDateTemplate class.
Declaration
public SqlInsertSyncDateTemplate(SqlDialect dialect)
Parameters
| Type | Name | Description |
|---|---|---|
| SqlDialect | dialect | the sql dialect |
Methods
InsertDeletionDate()
writes to sql to generate a utc date.
Declaration
public void InsertDeletionDate()
InsertSyncDate()
writes sql to insert the sync date.
Declaration
public void InsertSyncDate()
TransformText()
Create the template output
Declaration
public override string TransformText()
Returns
| Type | Description |
|---|---|
| System.String |