The Advanced Options dialog is part of the OpenAccess Create Model Wizard, which enables you to specify various additional code generation options, such as generation template, mapping type, and output folder for the generated objects.
 |
Depending on the project/item template you use, the options available in this dialog may vary. |
Using the Telerik OpenAccess Class Library and Telerik OpenAccess Domain Model Templates
If you use the Telerik OpenAccess Class Library or the Telerik OpenAccess Domain Model template, the Advanced Options dialog will look like the image below.

The dialog provides the following settings:
- Code Generation Template - choose a template for the objects generation. The default template could be used or a custom one could be chosen.
- Mapping Type - Telerik OpenAccess ORM maps a database to a persistent class model by either applying attributes or by using an external XML mapping file.
- Generate Context - if this option is checked, then an OpenAccessContext will be generated for the domain model.
- Generate Multiple Files - if this option is checked, then different file for each object from the domain model will be generated.
- Generate in Nested Namespaces - when this option is checked, the Code generation engine will respect the class namespaces and generate the classes in the corresponding folders (which will be created automatically by the code generation engine). That setting is enabled only if the Generate multiple files option is set to True. For more information about this setting, please refer to How to: Generate Classes in Different Namespaces.
- Project Folder/File Folder - a destination folder in the solution could be optionally chosen. If a folder is specified, then all objects will be generated in that folder. Those settings are enabled only if the Generate Multiple Files option is set to True.
Clicking the Finish button will close the OpenAccess Create Model Wizard and will open the OpenAccess Visual Designer.
Using the Telerik OpenAccess Fluent Library and Telerik OpenAccess Fluent Model Templates
These two templates will create a new model (based on an existing database or an empty one) by using the Fluent Mapping code generation. The only difference in the dialog if you use any of these two templates is that the Mapping Type option is not available.
 |
For more information about the Code Generation options, check out the Code Generation section. |