Class SqlDataTemplate
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 SqlDataTemplate : SqlTransformBase
Constructors
SqlDataTemplate(StringBuilder, SqlDialect)
Initializes a new instance of the SqlDataTemplate class.
Declaration
public SqlDataTemplate(StringBuilder generationEnvironment, SqlDialect dialect)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Text.StringBuilder | generationEnvironment | the target generation environment. |
| SqlDialect | dialect | the dialect to use for the template. |
SqlDataTemplate(SqlDialect)
Initializes a new instance of the SqlDataTemplate class.
Declaration
public SqlDataTemplate(SqlDialect dialect)
Parameters
| Type | Name | Description |
|---|---|---|
| SqlDialect | dialect | the dialect to use for the template. |
Methods
CleanupBlobGarbageCollection(String)
generates a SQL script to remove entries from the blob garbage list.
Declaration
public void CleanupBlobGarbageCollection(string schema)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | schema | the schema to use. |
TransformText()
Create the template output
Declaration
public override string TransformText()
Returns
| Type | Description |
|---|---|
| System.String |