ADCG Summary

ADCG (Automatic Data Class Generator) is a tool written to speed-up the writing of C# XML class structures.

In modern software applications, there is often the need to write an XML Parser for a specific XML format, and map XML data to C# data classes in an object-oriented approach.

Using ADCG, developers can define the needed data structure using a specific XML file (called SDF), that is more simple and fast to write than a typical XSD file, or an XSD file itself. Starting from one of these files, the tool automatic generates C# class files complete with get/set accessors, XML Binding functions and other useful code using Microsoft .NET standard technologies.

These are the main features ad ADCG:

  • Simple data structure definition: achieved supporting both a simple proprietary xml file or a standard Xml Schema (XSD) file. 

  • Public properties exposure (get/set accessors) for simple and complex types.

  • Strongly-typed collections (derived from CollectionBase).

  • Automatic implementation of IXmlSerializable, that is faster then the standard "attributed" .NET serialization that uses reflection.

  • Complete customization of XML tag names.

  • Implementation of ICloneable interface for .NET standard object deep cloning.

  • Classes are ready to be used in .NET Remoting as marshal-by-value objects.

  • Possibility to attach external already existing classes to the class structure.

  • Generated classes can be extended to implement custom features using class derivation.

  • Generated code compatible with .NET Framework 1.1 and 2.0.

The focus of this tool is the simplicity of the definition syntax of the data structure, and the lightweight and the easy of use of the code generated, in opposite, for example, to the more complex and heavy DataSet derived classes in .NET Framework.

You can find more details in Documentation section.

Copyright © 2006 Christian Salvaneschi. All Rights reserved.