you must only set the correct namespace/assembly, this is an example if you use 2 separe file (it's the best way), you set the current namespace/assembly at hibernate-mapping level and you use joined- sublass as inherance mapping, for other cases there'are only little changes about your question...
//file one <hibernate-mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:nhibernate-mapping-2.2" namespace="FirstProject " assembly="FirstProject "> <joined-subclass name="One" extends="SecondProject.Two , SecondProject "> ... properties </joined-subclass> </hibernate-mapping> //file two <hibernate-mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:nhibernate-mapping-2.2" namespace="SecondProject" assembly="SecondProject"> <class Two > ..properties </class> </hibernate-mapping> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
