MultiFileEDMX

Extension for Visual Studio 2010
Download

MultiFileEDMX Ranking & Summary

Advertisement

  • Rating:
  • Publisher Name:
  • MdeJ
  • Operating Systems:
  • Windows 2K / XP / Vista / 7
  • File Size:
  • 10 KB

MultiFileEDMX Tags


MultiFileEDMX Description

MultiFileEDMX was developed to be an extension for Visual Studio 2010 that makes the Entity Framework V4 designer work on models that are stored in separate files, rather than in a single EDMX file. This project defines an extension for Visual Studio 2010 that makes the Entity Framework V4 designer work on models that are stored in separate files, rather than in one single EDMX file. The purpose for this extension is to improve version management on EDMX files. An EDMX file holds 4 different models: a storage, a conceptual, a mapping, and a layout model. When putting an EDMX file under version management it is rather difficult the merge changes or to understand how to resolve merge conflicts. This is partly because it is not always easy to distinguish the different models, and partly because the layout of the model will often change, which will cause irritating merge conflicts. This extensions helps in the following ways: - The three models that define an entity model (i.e., the storage, conceptual, and mapping models) are stored in separate files, making it easier to interpret merge conflicts - The layout model is discarded, which removes the need to solve merge conflicts that are a result of different layouts. My experience is that manually layouting EF models is cumbersome, and that the automatic layout is "good enough". Hence, version manging the layout of my model is not needed anyway. When opening an EDMX file .edmx in the designer, the extension dynamically constructs the EDMX model by reading the conceptual, storage, and mapping models from the files .ssdl, .csdl, and ,msl, respectively. The layout of your diagrams is obtained from the file .Designer.diagrams. When saving a model in the designer, the three models and the layout of your diagrams are removed from the EDMX model and stored in the separate files. With this extension only the separate model files will change, the EDMX file will always be an an empty model (i.e., it contains the initial model that was generated when you created a new model in the designer).


MultiFileEDMX Related Software