The Migration Algorithm

See Also

The Migration Wizard uses the Repository 2.0 engine to create Microsoft Repository 2.0 tables. Pure SQL Data Manipulation Language (DML) and Data Definition Language (DDL) are used to move all the Repository information — both Information Models and instance data.

The General Flow

The following sections describe the algorithm that converts Repository 1.0 to Repository 2.0.

Application Startup

ODBC Initialization

Preparation

Copy Type Information Model

Copy Information Models

Table Mapping

Version 1 Version 2
RtblClassDefs RTblClassDefs
RtblIfaceDefs RTblIfaceDefs
RtblIfaceMem RTblIfaceMem
RtblITimestamp RTblITimestamp
RtblNamedObj RTblNamedObj
RtblObjects RTblVersions
RtblPropDefs RTblPropDefs
RtblProps RTblProps
RtblRelColDefs RTblRelColDefs
RtblRelColPairs RTblRelColPairs
RtblRelshipProps RTblRelshipProps
RtblRelships RTblRelships
RtblRoot RTblRoot
RtblSites RTblSites
RtblTypeLibs RTblTypeLibs
None needed RTblWorkspaceItems

Notes

  1. For each row in RTblObjects table, the Migration Wizard creates one row in the RTblVersions table.

  2. The RTblWorkspaceItems table is created with no rows.