Jochen Seemann's Blog

Using Models in Visual Studio

A blog entry from Stuart Kent summarizes some of the discussions on our DSL Tools Newsgroup about programmatic use of in-memory models. The DSL Tools allow you to create in-memory models with domain-specific APIs for Visual Studio:

The models are held in memory (we call it the in-memory store). As well as giving access to CRUD operations, this supports transactional processing and event firing. We also generate domain specific APIs from domain models - indeed, you can see what these APIs look like if you look at e.g. XXXX.dmd.cs generated from the XXXX.dmd using the template XXXX.dmd.mdfomt in a designer solution. These APIs work against the generic framework, thus allowing both generic and domain specific access to model data. However, we still have some work to do to make all this easily available, including making some improvements to the generic APIs and doing some repackaging of code. The goal would be that you'd be able to use the dll generated from a domain model to load models into memory from XML files, access them through generic and and domain specific APIs, and then save them back to XML files. We will also be overhauling the XML serialization, so that models will get stored in domain specific, customized XML - see Gareth's posting for some details around this.

Please find the complete article here.

Published Monday, April 18, 2005 2:05 PM by JochenS

Comments

 

Rob Caron's Blog said:

Visual Studio Team System
Beta 2 is out and thousands of you have downloaded and installed it with varying...
April 25, 2005 8:08 AM
Anonymous comments are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker