This template is used as an addition to the NHibernate template and allows generating fluent mapping for model objects. In case Fluent 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'. Fluent NHibernate template is currently available only for C#.
Fluent NHibernate template has the following properties:
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.
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.)
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.