Search Results for

    Show / Hide Table of Contents

    Class SqlDropDefaultTemplate

    Class to produce the template output

    Inheritance
    System.Object
    SqlTransformBase
    SqlDropDefaultTemplate
    Inherited Members
    SqlTransformBase.Write(String)
    SqlTransformBase.WriteLine()
    SqlTransformBase.SchemaTemplate(String)
    SqlTransformBase.SchemaTemplateWithEquals(String)
    SqlTransformBase.GO()
    SqlTransformBase.DataType(StorageColumn)
    SqlTransformBase.TableName(ModelElement)
    SqlTransformBase.DatabaseName(ModelElement)
    SqlTransformBase.RelationName(RelationBase)
    SqlTransformBase.ColumnName(StorageColumn)
    SqlTransformBase.ColumnNameWithCulture(StorageColumn, Culture)
    SqlTransformBase.Dialect
    SqlTransformBase.PrimaryCulture
    SqlTransformBase.GenerationEnvironment
    SqlTransformBase.ToStringHelper
    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 SqlDropDefaultTemplate : SqlTransformBase

    Constructors

    SqlDropDefaultTemplate(StringBuilder, SqlDialect)

    Initializes a new instance of the SqlDropDefaultTemplate class.

    Declaration
    public SqlDropDefaultTemplate(StringBuilder generationEnvironment, SqlDialect dialect)
    Parameters
    Type Name Description
    System.Text.StringBuilder generationEnvironment

    the target string builder.

    SqlDialect dialect

    the dialect for create sql for.

    SqlDropDefaultTemplate(SqlDialect)

    Initializes a new instance of the SqlDropDefaultTemplate class.

    Declaration
    public SqlDropDefaultTemplate(SqlDialect dialect)
    Parameters
    Type Name Description
    SqlDialect dialect

    the dialect to create sql for.

    Methods

    DropDefault(ModelElement, StorageColumn)

    drops the constraint on a storage column

    Declaration
    public void DropDefault(ModelElement parentElement, StorageColumn column)
    Parameters
    Type Name Description
    ModelElement parentElement

    the parentElement the storage column belongs to.

    StorageColumn column

    the column to drop constraints for.

    TransformText()

    Create the template output

    Declaration
    public override string TransformText()
    Returns
    Type Description
    System.String
    Overrides
    SqlTransformBase.TransformText()
    In This Article
    Back to top Copyright © 2025 software architects gmbh