Zontroy is a developer tool that generates code automatically. It is based on the concept of ‘Generative Programming’. Generative Programming or Source Code Generation is the generation of a software product or a part of it automatically by another computer program. Its purpose is to increase the developer’s efficiency.
Zontroy makes it possible to produce more work with a smaller number of developers. Considering the current need for qualified developers in the world, this situation becomes even more important. Zontroy minimizes the costs and contributes to the profitability and sustainability of the company.
To get started with Zontroy, create a Zontroy Project File (zproject) in Solution Explorer using Add -> New Item context menu.
After adding project file, enter your Database and Connection String information.
You are ready to create a generating file such as Zontroy Repeating File (zref), Zontroy Single File (zsif) and Zontroy Inner Repeating File (ziref). As an example, create a ZREF file and generate a code file for each entity in your data model.
You need to modify file name including [[[zg-entity...zg-name]]] after adding to generate code files named dynamically. [[[zg-entity...zg-name]]] is going to name generated file according to entity name. You can use [[[zg-entity...zg-name]]]RepeatingFile1.cs.zref or you can enter any other name.
Finally, your sample project is ready to generate. Just right click zref file and click Generate All item. After a few seconds, newly generated files will be shown in Solution Explorer. This is just a start to enter the exciting world of code generation.
For more information about Zontroy Code Generate, please visit our Documentation Page.