This project is read-only.


The ViewModel Generator is designed to work with Visual Studio 2008 and Visual Studio 2010. It uses an XML file (defined by the ViewModelOptions.xsd) to drive a ViewModel code generation process. The resulting code is designed to be used with the Composite Application Guidance (October 2009 release). It uses an Entity Framework (EDMX file) as the basis for the ViewModel in a Model-View-ViewModel pattern.
This was inspired by a real world problem then cropped up during development. It involved a large application with a substatial data model. One the tables had an excess of eighty columns. Each of those values had to be manually mapped to a ViewModel so that a property change would raise a corresponding notification in the View. The relationship between the View and ViewModel became increasingly fragile in direct proportion to the number of properties. The relationship would break any time there was a change in a field name or field type. And since we were in the early stages of development, this happened rather frequently.

Getting Started

If you have just downloaded the ViewModelGenerator.msi and want to get up and running quickly, please see the Quick Start Guide.

Last edited Jun 18, 2010 at 2:37 AM by jiwasz, version 7


No comments yet.