DatabaseStructure
that will be edited through a DatabaseStructureWizard
. This interface is required because of two design flaws:
DatabaseStructure
did not store detailed information about the tables it uses, such as all the columns in each table. The reason for this is that such information is not stored on the server side when deploying a database transformation, and since the product originally supported downloading projects from a server it was important to not store any additional information on the client side that would be lost when downloading a project. When editing a database structure created in versions 1.2 or earlier, we cannot therefore not get DatabaseObject
information directly from the structure itself, but rather we extract this information from the mapping tree. The downside of this approach is that the mapping tree does not contain all necessary information, such as schema names and primary key information.
DatabaseStructure
object, others in the Transformation
object. As a consequence, we need to pass in both the structure and the transformation when editing a structure.
|
|