Here I’ll try to explain how we have used it in that application writing a new example.
The DomainIn the assembly Acme.ModuleA
Some extensionsJust to not forget it later…
The mappingYou can organize the mapping of your modules in a single assembly, in general the same where you are generating the session factory, or in more than one assembly. In general you need just a little class to map a module so please don’t be exaggerated separating your application.
For this example I will show three implementations of ModuleMapper all implemented in the same assembly named Acme.Persistence.Wiring.