Hi,
I've just downloaded the last version of entity developer.
Now, I want to generate the code and mapping of my model with fluent nhibernate template.
Could you tell me how to do that ?
Thanks.
SRR
Generating code and mapping with fluent nhibernate template
Re: Generating code and mapping with fluent nhibernate template
Please create the NHibernate Model, add the Fluent NHibernate template, save the model, and generate the code. For more information, refer to http://www.devart.com/entitydeveloper/e ... eloper.chm.
If you need any further assistance, feel free to contact us.
If you need any further assistance, feel free to contact us.
Re: Generating code and mapping with fluent nhibernate template
Additional information:
When adding the Fluent NHibernate template to the model, the predefined NHibernate template will be added automatically, because the Fluent NHibernate template is only an addition template and generates mapping code only. Code of the entity classes is still generated by the NHibernate template.
You should set the Xml Mapping Action property of the NHibernate template to Do Not Generate Mapping Files to turn off generation of the XML mapping (since you will use fluent mapping).
When adding the Fluent NHibernate template to the model, the predefined NHibernate template will be added automatically, because the Fluent NHibernate template is only an addition template and generates mapping code only. Code of the entity classes is still generated by the NHibernate template.
You should set the Xml Mapping Action property of the NHibernate template to Do Not Generate Mapping Files to turn off generation of the XML mapping (since you will use fluent mapping).