Support forum for Huagati DBML/EDMX Tools
6/3/2011 9:26:34 AM
 Thomy Mutter Posts: 1
|
Hi Folks
I'm pretty new to Huagaty DBMX-Tools but I hoped to find here a tool to selectively update my EF model with changes in the underlying database model. Now I'm a bit lost with the usage of the model comparer. Is there somewhere an introduction how to use this tool? What is the difference between "Update SSDL" under Database, Storage Model and Conceptual Model? How do I add a new column in a database table in the EF-Model using the model comparer? What happens pressing the different buttons on the dialog?
Thomy
|
|
0
• permalink
|
6/3/2011 9:42:07 AM
 Kristofer Andersson Moderator Posts: 312
|
Hi Thomy,
The buttons under each tree (database/ssdl/csdl) are used for applying diffs selected in that particular treeview to another layer, or to itself.
The "Update SSDL" button under each tree is used for updating the SSDL layer with differences selected in the layer that the treeview correspond to.
In other words, if the Model Comparer shows a set of new/changed columns in the database tree and you select one or more of those and click on "Update SSDL" under the database tree, the SSDL will be updated to correspond with the database for the selected objects. Likewise, if you select some difference in the CSDL tree and click "Update SSDL", the SSDL will be updated to correspond to the CSDL for the selected objects. Finally, if you select diffs in the SSDL tree and click "Update SSDL" then the SSDL will be changed to match the layer if differs from.
There are a couple of screencasts/videos showing it in action here: http://huagati.blogspot.com/2010/07/introducing-model-comparer-for-entity.html (15 min) http://huagati.blogspot.com/2010/08/using-model-comparer-to-generate.html (15 min) http://huagati.blogspot.com/2011/05/entity-framework-model-creation-beyond.html (4½ min)
Best regards, Kristofer
|
|
0
• permalink
|