Hi! im developing with VS2003 ide and MS SQL server 2000, i have a solution with 2 projects, the first one for the Business Layer who have classes and the .hbm.xml files that access to the data by NHibernate, and the another one a simple winform project that try access to the firs one.
The problem is that my Business project (idem namespace) have Business.Alpha, Business.Beta and Business.Gama subNamespaces and such sub-namespaces in Business are not reacheable by the NHibernate (referenced in both projects)
my code is like this:
nhConfig = new Configuration(); nhConfig.AddAssembly("Business"); nhFactory = nhConfig.BuildSessionFactory();
where Business is the Business.dll generated by my first project, if i use
nhConfig.AddAssembly("Business.Alpha"); NHibernate dont find the .dll
in each hbm.xml file i put the correct subNamaspace for the class but neither works
im doing some bad?
all the classes for NHibernate must be in the base namespace?
Antares
|