Mapping

The information, which classes are stored in which tables and which fields end up in which columns of the database is specified in an XML file. This mapping information allows you to change the mapping without having to recompile the application.

When an assembly is compiled, the enhancer creates a mapping file that contains suggestions for mapping entries according to a specific naming convention. This file can be easily adapted by the developer to the actual circumstances of the target database.

NDO also generates a SQL script that can be used to create a database that matches exactly the mapping information you specify. The NDO provider layer ensures that the script is generated in the correct SQL dialect for the database of your choice.

A graphical mapping tool is available for editing the mapping information.