Fluent nHibernate Auto Mapping - Issue with AutoMapping Override?

References is for creating many-to-one relationships between two entities, and is applied on the "many side. " You're referencing a single other entity, so you use the References method. HasMany is the "other side" of the References relationship, and gets applied on the "one side."

From Fluent's website. How should your relation work? It looks like a classic one ScriptType-to-many ParseRules, so this should be HasMany on ScriptType's side, as Fluent does.

Maybe, if you want to have bidirectional relationship here, where ParseRule's side is the "owning" side of the relation, you should use Inverse() in ScriptType. ParseRules mapping override.

I'd got it into my head that References was doing something else! I've added a HasManyToMany override and its all come good, thank you – Andy Clarke Jun 21 at 11:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions