Project

From dbscript Online Help
Revision as of 08:01, 2 January 2009 by Ho (talk | contribs)
Jump to: navigation, search

In dbscript, every information exists in the context of a Project.

A Project contains a collection of Project Versions, Databases, Schema Comparisons, Value Scripts, Object Selections, Saved Scripts, and Documentation Generators.

Properties

See Proj-edit

Project Versions

Each version of a schema or database snapshot is stored in a Project Version containing a set of Objects representing the schema objects.

Databases

Databases represent the development and production databases containing the schemas.

Schema Comparisons

Compare two Project Versions (two schemas) and create a database schema migration script from the difference.

Value Scripts

Script generator to generate

  • table data as C# constants
  • T-SQL INSERT/UPDATE statements to replicate data in source (development) tables to production databases.
  • XML files containing data of selected tables

Object Selections

A name- and object type-based filter on schema objects.

Saved Scripts

Imported and generated schema, comparison and value scripts saved by the user.

Documentation Generators

Generate Database Documentation by using built-in or user-defined XSL to transform XML generated by Project Versions, Objects and Value Scripts.

See Samples for generated MediaWiki documentation.