Search Results for

    Show / Hide Table of Contents

    Class ModelDeserializationTemplate

    Class to produce the template output

    Inheritance
    System.Object
    SqlTransformBase
    ModelDeserializationTemplate
    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
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class ModelDeserializationTemplate : SqlTransformBase

    Constructors

    ModelDeserializationTemplate(StringBuilder, SqlDialect)

    Initializes a new instance of the SchemaTemplates class.

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

    the target generation environment.

    SqlDialect dialect

    the dialect for the template.

    ModelDeserializationTemplate(SqlDialect)

    Initializes a new instance of the SchemaTemplates class.

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

    the dialect to ue for the template.

    Methods

    CultureDeserializationCommand(String)

    creates an SQL command to deserialize the EntityViews.

    Declaration
    public void CultureDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    EntityViewDeserializationCommand(String)

    creates an SQL command to deserialize the EntityViews.

    Declaration
    public void EntityViewDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    ModelActionDeserializationCommand(String, Boolean, Boolean)

    creates an SQL command to deserialize the ModelAction.

    Declaration
    public void ModelActionDeserializationCommand(string schema, bool hasShowInFormsListsExpression, bool hasExecuteWithoutPrompt)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    System.Boolean hasShowInFormsListsExpression
    System.Boolean hasExecuteWithoutPrompt

    ModelEntityDeserializationCommand(String, Boolean)

    creates an SQL command to deserialize the entities.

    Declaration
    public void ModelEntityDeserializationCommand(string schema, bool hasGenericRelations)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    System.Boolean hasGenericRelations

    ModelEntityInterfacesDeserializationCommand(String)

    creates an SQL command to deserialize the ModelEntityInterfaces.

    Declaration
    public void ModelEntityInterfacesDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    ModelLogicalRelationsDeserializationCommand(String)

    Declaration
    public void ModelLogicalRelationsDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    ModelPermissionsDeserializationCommand(String)

    creates an SQL command to deserialize the permissions.

    Declaration
    public void ModelPermissionsDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    ModelPropertyDeserializationCommand(String)

    creates an SQL command to deserialize the properties.

    Declaration
    public void ModelPropertyDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    ModelRelationsDeserializationCommand(String, Boolean)

    creates an SQL command to deserialize the ModelRelations.

    Declaration
    public void ModelRelationsDeserializationCommand(string schema, bool hasLogicalRelations)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    System.Boolean hasLogicalRelations

    true if the installed schema has logical relations installed, false otherwise

    ModelValidationRulesDeserializationCommand(String)

    creates an SQL command to deserialize the ValidationRules.

    Declaration
    public void ModelValidationRulesDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    NamedSetDefinitionDeserializationCommand(String)

    creates an SQL command to deserialize the NamedSetDefinitions.

    Declaration
    public void NamedSetDefinitionDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    TransformText()

    Create the template output

    Declaration
    public override string TransformText()
    Returns
    Type Description
    System.String
    Overrides
    SqlTransformBase.TransformText()

    TriggerDeserializationCommand(String)

    creates an SQL command to deserialize the Triggers.

    Declaration
    public void TriggerDeserializationCommand(string schema)
    Parameters
    Type Name Description
    System.String schema

    the schema to use.

    In This Article
    Back to top Copyright © 2025 software architects gmbh