This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi Just recently downloaded the Nhibernate Model Designer and so far have been fairly impressed. I've come a bit stuck though. I've created my model, and have decided that I would prefer to have the mappings done in FluentNhibernate. So I head off over to Nhibernate Model View > Policies > Code Generation Policy and change the Mapping representation to "FluentNhibernate". All seems to work perfectly, that is until I now run my application and get the folloiwing error:
I'm imagining that something with the Configuration has not been corrected when the model was rebuilt using FluentNhibernate. Is the issue on my side or is this something known with the tool? If it's the tool, is there a workaround in the meantime? |
|
|
Anyone have an idea. I'm still experiencing the same issue... |
|
|
Have you checked that you are wiring up the mapping assemblies? I believe in Fluent this is done by:
|
|
|
Hi Jeremy I did eventually get it working. I guess I just assumed that because the XML entity creation scheme did the wiring-up automatically that the same would be true of the FluentNHibernate wiring. Thanks! |
|