Drag-n-drop operations for MySQL Repositories
# | Drag This | To This | With This Connection Type | And This Will Happen |
|---|---|---|---|---|
M1 | Anything from the System Model Panel (or Repository Panel) | Anything in the Repository Panel (or System Model Panel) | Reference | Reference Connection will be created but nothing will be generated |
M2 | SysML Block | MySQL Database | Model Transform |
|
M3 | MySQL Table | SysML Package | Model Transform |
|
M4 | SysML Block | MySQL Table | Data Map |
|
M5 | SysML Block Instance | MySQL Table | Data Map |
|
M6 | MySQL Table Row | SysML package | Data Map |
|
Creating connections between existing model elements
The drag-n-drop operations listed in the table above generate models. Starting with this release, Syndeia can also create model transform connections between existing model elements without generation. You can then perform a compare and sync operation on these connections to sync the models. The following drag-n-drop operations are available between existing model elements:
SysML Block < -- > MySQL Table (Model Transform)
SysML Block < -- > MySQL Table Row (Data Map)
SysML Block Instance < -- > MySQL Table Row (Data Map)
Additional Notes on SysML and MySQL drag-n-drop operations
Column names in the MySQL table must be alpha numeric (white spaces and underscores are allowed) so that they can be used to generate block value properties.
When generating SysML block / instances from MySQL data, or when synchronizing MySQL > SysML, the following data mapping rules are followed.
When generating MySQL tables and rows from SysML elements, or when synchronizing SysML > MySQL, the following data mapping rules are followed.