2014-06-26 15:36 GMT+02:00 Ricardo Peres <[email protected]>:

> IMO, it doesn't make much sense... the .hbm.xml files need to be in the
> same DLL as the entity classes.
>

No they don't need to be in the same assembly. I just checked on of my
project to be certain.

But Eric, your config contains:
   <mapping assembly="HSC.Domain"/>
but in some other place you mentioned in passing that your hbm files was in
the assembly that contains the repositories, which I interpreted as a
different assembly. That would explain you problem.

/Oskar

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to