Class SqlDataTypes
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 SqlDataTypes : SqlTransformBase
Constructors
SqlDataTypes(StringBuilder, SqlDialect)
Initializes a new instance of the SqlDataTypes class.
Declaration
public SqlDataTypes(StringBuilder generationEnvironment, SqlDialect dialect)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Text.StringBuilder | generationEnvironment | the target stringbuilder to be written to. |
| SqlDialect | dialect | the dialect to use. |
SqlDataTypes(SqlDialect)
Initializes a new instance of the SqlDataTypes class.
Declaration
public SqlDataTypes(SqlDialect dialect)
Parameters
| Type | Name | Description |
|---|---|---|
| SqlDialect | dialect | the dialect to use. |
Methods
DataType(StorageColumn)
Writes the datatype of the storage column.
Declaration
public void DataType(StorageColumn column)
Parameters
| Type | Name | Description |
|---|---|---|
| StorageColumn | column | the storage column whose datatype to write. |
TransformText()
Create the template output
Declaration
public override string TransformText()
Returns
| Type | Description |
|---|---|
| System.String |