Table of Contents

Class SqlDropDefaultTemplate

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

Class to produce the template output

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

Constructors

SqlDropDefaultTemplate(StringBuilder, SqlDialect)

Initializes a new instance of the SqlDropDefaultTemplate class.

public SqlDropDefaultTemplate(StringBuilder generationEnvironment, SqlDialect dialect)

Parameters

generationEnvironment StringBuilder

the target string builder.

dialect SqlDialect

the dialect for create sql for.

SqlDropDefaultTemplate(SqlDialect)

Initializes a new instance of the SqlDropDefaultTemplate class.

public SqlDropDefaultTemplate(SqlDialect dialect)

Parameters

dialect SqlDialect

the dialect to create sql for.

Methods

DropDefault(ModelElement, StorageColumn)

drops the constraint on a storage column

public void DropDefault(ModelElement parentElement, StorageColumn column)

Parameters

parentElement ModelElement

the parentElement the storage column belongs to.

column StorageColumn

the column to drop constraints for.

TransformText()

Create the template output

public override string TransformText()

Returns

String