Search Results for

    Show / Hide Table of Contents

    Class SqlAddProperty

    Class to produce the template output

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

    Constructors

    SqlAddProperty(StringBuilder, SqlDialect)

    Initializes a new instance of the SqlAddProperty class

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

    the target string buffer.

    SqlDialect dialect

    the dialect to use.

    SqlAddProperty(SqlDialect)

    Initializes a new instance of the SqlAddProperty class

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

    the dialect to use.

    Methods

    AddProperty(String, ModelProperty, StorageColumn[])

    Generates code to add a property w/ storage columns, either sql azure or sql compact, depending on the dialect.

    Declaration
    public void AddProperty(string schema, ModelProperty property, StorageColumn[] columns)
    Parameters
    Type Name Description
    System.String schema

    the schema to use

    ModelProperty property

    the property for which columns are added.

    StorageColumn[] columns

    the columns to be added.

    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