I have a many to many relationship in my database. I added the inverse 
property to both sides. This should work and is advised in my scenario. 
Though, fluent gives an error about having inverse on both sides.
On multiple fora I see people discussing about it and even saw that it 
was/is going to be solved. Just to be sure, am I doing something wrong, 
should I not use inverse on both sides or is this a problem that needs to 
be fixed? 

I'm using fluent installed via nuget. Currently I use the below workaround 
though this disables all validation.:
                .Mappings(m =>
                {
                    var persistanceModel = new PersistenceModel();
                    
persistanceModel.AddMappingsFromAssembly(typeof(AssetMap).Assembly);
                    persistanceModel.ValidationEnabled = false;
                    m.UsePersistenceModel(persistanceModel);

Patrick

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fluent-nhibernate+unsubscr...@googlegroups.com.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
Visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to