Select Output Language C#
Pressing the 'Next >' button processes your XML Schema. If the file can not be processed, you will receive an error message describing the error. If the XML Schema is processed without error the 'Select Output Options' page is displayed.
Generates C# .Net source and project files for
Microsoft Visual Studio 2005, 2008, 2010, 2012, 2013 or 2015
.Net 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2 or 4.6
Silverlight 3, 4 or 5
Mono for Android .Net Framework 4.0
MonoTouch for iOS .Net Framework 4.0
Selecting one of the C# .Net option displays the Language Properties that relate to C# .Net code generation.
Default C# Class Namespace
This allows you to specify the C# Namespace that all generated classes will form part. This also represents the name of the generated C# project.
Base C# Namespace
This allows you to specify a prefix to the C# Namespace that all generated classes will form part. This is useful if you have a company standard that dictates all libraries should be in the standard company namespace, e.g. com.mycompany.
Default Schema to Object Collection Mapping
This allows you to select the manner in which properties and methods that reference Collections are generated.
E.g. for the following XML:
<person> <address/> <address/> <address/> </person>
where a <person> may contain many <address> elements:
Use Original Name
This option simply uses the element name from the XML Schema. E.g Person Class would have the method declaration:
Append 'Col' to Name
This option appends 'Col' to the element name from the XML Schema. E.g Person Class would have the method declaration:
This option attempts to pluralize the element name from the XML Schema using a lookup file 'pluralList.txt' that can be found in the [INSTALL DIR]\XMLDataBinder folder and can be manually extended to include your own terms. E.g The Person Class would have the method declaration: