Hi,
thanks for the tip.
I got a sample of a configuration file for nhibernate, where the name of the assembly that contains the mapping file is written.
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.0" >
<session-factory name="NHibernate.Test">
<!-- properties -->
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
<property name="connection.connection_string">Server=localhost\sql2005;initial catalog=bugs;User ID=sa;Password=sa_password;Min Pool Size=2</property>
<property name="show_sql">true</property>
<property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
<property name="use_outer_join">true</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
<!-- mapping files -->
<mapping assembly="Com.Benday.BugTracker.Business" />
</session-factory>
</hibernate-configuration>
My question, do I need to add this configuration section with the name of the assembly that contains the mapping files ?
Thanks in advance for your help.
Best regards
Luis Filipe
Code: