Loquacious Mapping

This template is used as an addition to the NHibernate template and allows generating a Loquacious NHibernate's Mapping by Code classes. In case Loquacious mapping is used, XML mapping generation should be disabled in the basic NHibernate template. For this, set the XML Mapping Action property value to 'DoNotGenerateMappingFiles'. This template is currently available only for C#.

Loquacious Mapping template has the following properties:

General

Description

Description of the template.

Enabled

Indicates whether the template is enabled. Acceptable values are True or False.

File Name

The name of the template file.

Name

The name of the template.

Type

The type of the template.

Generation

Header Timestamp Version Control Tag

Setting this option will replace the standard date/time stamp in the file header with the specified tag (e.g. a version control tag for Subversion, Git, etc.)

Output

File Per Class

Defines whether each model class will be placed into a separate file when generating code. Acceptable values are True or False.

Model Name As Files Prefix

Defines whether to add the model name to the generated file names as a prefix.

Output

Allows specifying the output folder for the generated entity classes.

Project

(This property is available in the Visual Studio add-in only) The name of the Visual Studio project where the generation result will be located.

Project Folder

(This property is available in the Visual Studio add-in only) The name of the directory in the Visual Studio project where the generation result will be located.

Destination Folder

(This property is available in the standalone application only) The directory to contain the generation results.

 


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.