LLBLGen Pro v3.0 Model first with QuickModel and more
Below I've linked a short video which demonstrates, among other things, the Quick Model feature of LLBLGen Pro v3.0. Quick Model is a feature which allows the user to specify model elements very quickly using a simple command input system combined with a visual model viewer. The scenario when this feature is ideal is when you're interviewing a Domain expert and you want to store the information you gather in a re-usable way. This feature allows you to do that in such a way that the model is immediately presented to you and the Domain expert (so s/he immediately sees if it's correct or not). Another advantage is that the model is already in your project, so if a developer has to continue with the project, you don't need a translation phase and you don't have to discuss which entities were determined during the interview, they're already in the model. All you need is a little fine tuning perhaps, using the other editors in the LLBLGen Pro designer. As the Quick Model feature is ... quick, you can type while discussing / interviewing, so the interview isn't stalled by you having to perform slow toolbox-jedi-tricks or other slow modeling wizardry.
The video creates a simple model from scratch and maps it to Oracle, creating meta-data from the model. If you pay attention at the end of the video, you will notice that in the end, not all meta-data is created (e.g. no FK constraints and no PK constraint). This is because I forgot to press the Validation button in the toolbar during the video recording () . The validation process has two steps: one validates the model and mappings and stops there, and a second step (if executed) also modifies the meta-data according to the model mapped onto it. This is a separate process as you can't keep a model in sync with meta-data in all possible model edit steps, for example foreign key constraints in the meta-data can only be created after all the required elements are available (relationship, PK fields, everything is valid).
As I'm not a video recording expert I made a mistake and accidentally deleted a frame midway, so you'll notice an error description in the log pane, while the statement causing it isn't in the video as it was on the frame I removed (as DemoBuilder recorded it a bit clumsy. Oh well..)
Please click on the screenshot below or click this link.
LLBLGen Pro v3.0 is scheduled to go beta in January 2010 and will support at RTM the O/R mapper frameworks: LLBLGen Pro runtime library, NHibernate 2.x, Entity Framework 1 & 4 and Linq to Sql, and more frameworks scheduled after that.