This project is read-only.
NOTE: Please download the source code, it has compiled executables in it, I am short on time at the moment, and the source contains all the latest bug fixed

Project Description
SqlMetalInclude lets you simply and quickly modify the DBML file to remove unwanted tables/views from it, as well as being able to rename the entities giving more meaning in the generated code.
There is also a GUI which lets you configure everything, including the SqlMetal config

Screenshots of GUI

Startup screen, config is automatically saved at each step of the wizard.
Exclude mode (also explained in tooltip) controls how new tables/views are handled, in exclude mode, new tables will not be included.

Setup the SqlMetal DBML generation
SqlMetal Config.png

We can now select the tables/views that we want to be included in the final DBML and also rename the collections or entity names

When you hit continue it will run sqlmetalinclude to modify the full dbml file, you can continue once it has been run and no further changes have been made.

You can now either export a .cmd file and SqlMetalInclude.exe which will regenerate your code file from scratch, so it will infact refresh your DataContext and associated classes to match the database structure.

Last edited Dec 10, 2008 at 3:09 AM by ginnivanj, version 5