Table of Contents

Class SqlCreateSchemaTemplate

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

Class to produce the template output

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

Constructors

SqlCreateSchemaTemplate(StringBuilder, SqlDialect)

Initializes a new instance of the SqlCreateSchemaTemplate class.

public SqlCreateSchemaTemplate(StringBuilder generationEnvironment, SqlDialect dialect)

Parameters

generationEnvironment StringBuilder

the target string builder.

dialect SqlDialect

the dialect to use.

SqlCreateSchemaTemplate(SqlDialect)

Initializes a new instance of the SqlCreateSchemaTemplate class.

public SqlCreateSchemaTemplate(SqlDialect dialect)

Parameters

dialect SqlDialect

the dialect to use.

Methods

CreateSchema(String)

Writes SQL that creates the schema.

public void CreateSchema(string schema)

Parameters

schema String

the schema to use.

TransformText()

Create the template output

public override string TransformText()

Returns

String