Synchronizing Mapping with the Source Code
Synchronization with changes in the source code is an easy-to-use feature of Exadel Studio's ORM functionality. When invoked, this kind of synchronization cleans stale mappings that don't exist in the source code but do exist in the mapping files. Also, it will run an automapping process that will create default mappings for your classes.
If you want to synchronize your mappings with the source code, follow these steps:
-
In ORM Explorer, right-click on the configuration file and select Synchronize Mapping... from the context menu.
-
If you press the OK button, you will automatically synchronize the mapping with the source code.