The Genome OQL Query Analyzer (QA) is a very helpful tool when you are developing with Genome: it allows you to load a mapped business layer to execute any kind of OQL queries. Besides displaying the results in a fully browsable object graph, you can also see the SQL generated by Genome from the OQL you specified. If you haven‘t worked with Genome QA so far, the following screen shot should give you an idea of how it works:
A common workflow when developing with Genome is to develop and debug queries in QA, while extending the domain model with new mappings and query logic.
Since QA loads up the mapping assembly and the business layer with all dependent assemblies, you cannot recompile your solution as long QA is open. It can be a little bit tiresome to restart QA after each compilation while developing your business layer.
Genome QA can be started with a single click in Visual Studio’s solution explorer, whereby the latest compiled business layer is loaded along with its mapping.
Once you have done this, double clicking on the .ddspec file in solution explorer will start Genome Query Analyzer with the latest compiled business layer. Before you recompile, simply close QA, and restart again in the solution explorer once compilation is completed:
To set this up in further projects, you just need to execute steps 1-5, as Genome QA is then already registered as default editor for .ddspec files in the Visual Studio environment.
Posted by Chris
Technorati Tags: object relational
Remember Me
© Copyright 2009, TechTalk
E-mail