Types from multiple assemblies and namespaces in nhibernate mapping files

Posted by Ben Aston on Stack Overflow See other posts from Stack Overflow or by Ben Aston
Published on 2010-04-19T16:28:12Z Indexed on 2010/04/19 16:33 UTC
Read the original article Hit count: 342

You can specify the namespace and assembly to use types from at the top of HBM files:

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="MyCorp.MyAssembly" namespace="MyCorp.MyAssembly.MyNamespace">

Can you use types from multiple assemblies / namespaces within the same mapping file, and if so what is the syntax for doing so?

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about nhibernate-mapping