Re-generate model
Can I re-generate the sdl and msl files afterI make a db schema change?
Can I re-generate the sdl and msl files afterI make a db schema change?
Hi! Kerry,
Unfortunately, there is no support in the CTP bits to re-generate the SSDL and MSL files after you make a db schema change. Your could create a new "Model Object" project and use the wizard against the updated database.
We are thinking about the best way to make this possible in future releases.
Regards,
Sanjay
Sanjay Nagamangalam
ADO.NET Program Manager
Microsoft Corporation
I look forward to what you decide upon, so far I really like the way it uses code-gen, but doesn't clutter up your project with it. Very nice touch, hard to trace I'd imagine?
Can I just say that there are two things in your future possibles that are really interesting, at least for me.
The first is supporting tdd. Mosts orm's do the db first then model and it really makes them hard for work with. It'd be nice to right click a property on the class in question and say "promote to schema" and have the db updated as well - quite hard to do I'd imagine.
The second is the support for serialisation across the wire, e.g. being able to transfer an object (graph) to the client side, modify it, then transfer back and save. If you subscribe to Rocky Lhotka's view or don't want to write a "presentation" model as well as a domain model, this would be extremely useful. Very nice for smart client scenarios.
Cheers