Class ModelDeserializationTemplate
- Assembly
- TimeCockpit.Data.dll
Class to produce the template output
public class ModelDeserializationTemplate : SqlTransformBase
- Inheritance
-
ObjectModelDeserializationTemplate
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
ModelDeserializationTemplate(StringBuilder, SqlDialect)
Initializes a new instance of the SchemaTemplates class.
public ModelDeserializationTemplate(StringBuilder generationEnvironment, SqlDialect dialect)
Parameters
generationEnvironmentStringBuilderthe target generation environment.
dialectSqlDialectthe dialect for the template.
ModelDeserializationTemplate(SqlDialect)
Initializes a new instance of the SchemaTemplates class.
public ModelDeserializationTemplate(SqlDialect dialect)
Parameters
dialectSqlDialectthe dialect to ue for the template.
Methods
CultureDeserializationCommand(String)
creates an SQL command to deserialize the EntityViews.
public void CultureDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.
EntityViewDeserializationCommand(String)
creates an SQL command to deserialize the EntityViews.
public void EntityViewDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.
ModelActionDeserializationCommand(String, Boolean, Boolean)
creates an SQL command to deserialize the ModelAction.
public void ModelActionDeserializationCommand(string schema, bool hasShowInFormsListsExpression, bool hasExecuteWithoutPrompt)
Parameters
schemaStringthe schema to use.
hasShowInFormsListsExpressionBooleanhasExecuteWithoutPromptBoolean
ModelEntityDeserializationCommand(String, Boolean)
creates an SQL command to deserialize the entities.
public void ModelEntityDeserializationCommand(string schema, bool hasGenericRelations)
Parameters
schemaStringthe schema to use.
hasGenericRelationsBoolean
ModelEntityInterfacesDeserializationCommand(String)
creates an SQL command to deserialize the ModelEntityInterfaces.
public void ModelEntityInterfacesDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.
ModelLogicalRelationsDeserializationCommand(String)
public void ModelLogicalRelationsDeserializationCommand(string schema)
Parameters
schemaString
ModelPermissionsDeserializationCommand(String)
creates an SQL command to deserialize the permissions.
public void ModelPermissionsDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.
ModelPropertyDeserializationCommand(String)
creates an SQL command to deserialize the properties.
public void ModelPropertyDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.
ModelRelationsDeserializationCommand(String, Boolean)
creates an SQL command to deserialize the ModelRelations.
public void ModelRelationsDeserializationCommand(string schema, bool hasLogicalRelations)
Parameters
schemaStringthe schema to use.
hasLogicalRelationsBooleantrue if the installed schema has logical relations installed, false otherwise
ModelValidationRulesDeserializationCommand(String)
creates an SQL command to deserialize the ValidationRules.
public void ModelValidationRulesDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.
NamedSetDefinitionDeserializationCommand(String)
creates an SQL command to deserialize the NamedSetDefinitions.
public void NamedSetDefinitionDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.
TransformText()
Create the template output
public override string TransformText()
Returns
- String
TriggerDeserializationCommand(String)
creates an SQL command to deserialize the Triggers.
public void TriggerDeserializationCommand(string schema)
Parameters
schemaStringthe schema to use.