Search Results for

    Show / Hide Table of Contents

    Class SqlDropDefaultConstraintTemplate

    Class to produce the template output

    Inheritance
    System.Object
    SqlTransformBase
    SqlDropDefaultConstraintTemplate
    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 SqlDropDefaultConstraintTemplate : SqlTransformBase

    Constructors

    SqlDropDefaultConstraintTemplate(StringBuilder, SqlDialect)

    Initializes a new instance of the SqlDataTypes class.

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

    the target string builder to write to.

    SqlDialect dialect

    the dialect to use.

    SqlDropDefaultConstraintTemplate(SqlDialect)

    Initializes a new instance of the SqlDataTypes class.

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

    the dialect to use.

    Methods

    DropDefault(ModelElement, StorageColumn)

    Writes SQL to drop the default constraint.

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

    the element to drop constraints for.

    StorageColumn column

    the storage column to drop constraints for.

    DropDefaultConstraint(String, ModelElement, StorageColumn)

    Writes SQL to drop the default constraint.

    Declaration
    public void DropDefaultConstraint(string schema, ModelElement parentElement, StorageColumn column)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    ModelElement parentElement

    the parenting model element.

    StorageColumn column

    the storage column to drop the constraint 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