Table of Contents

Class SqlGetConstraintsTemplate

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

Class to produce the template output

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

Constructors

SqlGetConstraintsTemplate(StringBuilder, SqlDialect)

Initializes a new instance of the SqlGetConstraintsTemplate class.

public SqlGetConstraintsTemplate(StringBuilder generationEnvironment, SqlDialect dialect)

Parameters

generationEnvironment StringBuilder

the target string builder.

dialect SqlDialect

the dialect to create sql for.

SqlGetConstraintsTemplate(SqlDialect)

Initializes a new instance of the SqlGetConstraintsTemplate class.

public SqlGetConstraintsTemplate(SqlDialect dialect)

Parameters

dialect SqlDialect

the dialect to create sql for.

Methods

GetConstraints(String)

Creates sql to retrieve the constraints.

public void GetConstraints(string schema)

Parameters

schema String

the name of the schema.

TransformText()

Create the template output

public override string TransformText()

Returns

String