Class SqlGetConstraintsTemplate
- Assembly
- TimeCockpit.Data.dll
Class to produce the template output
public class SqlGetConstraintsTemplate : SqlTransformBase
- Inheritance
-
ObjectSqlGetConstraintsTemplate
- 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
generationEnvironmentStringBuilderthe target string builder.
dialectSqlDialectthe dialect to create sql for.
SqlGetConstraintsTemplate(SqlDialect)
Initializes a new instance of the SqlGetConstraintsTemplate class.
public SqlGetConstraintsTemplate(SqlDialect dialect)
Parameters
dialectSqlDialectthe dialect to create sql for.
Methods
GetConstraints(String)
Creates sql to retrieve the constraints.
public void GetConstraints(string schema)
Parameters
schemaStringthe name of the schema.
TransformText()
Create the template output
public override string TransformText()
Returns
- String