Table of Contents

Class SqlDataTypes

Namespace
TimeCockpit.Data.Database.StringTemplates.SubTemplates
Assembly
TimeCockpit.Data.dll

Class to produce the template output

public class SqlDataTypes : SqlTransformBase
Inheritance
Object
SqlDataTypes
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

SqlDataTypes(StringBuilder, SqlDialect)

Initializes a new instance of the SqlDataTypes class.

public SqlDataTypes(StringBuilder generationEnvironment, SqlDialect dialect)

Parameters

generationEnvironment StringBuilder

the target stringbuilder to be written to.

dialect SqlDialect

the dialect to use.

SqlDataTypes(SqlDialect)

Initializes a new instance of the SqlDataTypes class.

public SqlDataTypes(SqlDialect dialect)

Parameters

dialect SqlDialect

the dialect to use.

Methods

DataType(StorageColumn)

Writes the datatype of the storage column.

public void DataType(StorageColumn column)

Parameters

column StorageColumn

the storage column whose datatype to write.

TransformText()

Create the template output

public override string TransformText()

Returns

String