Fluent nhibernate auto mappings how to reference parent entity in the same table?

+2 votes
asked Feb 4, 2016 by helps (3,060 points)
I am trying to use FluentNHibernate AutoMappings to create entity with reference to its parent. I was able to do this with help of ClassMap<>, but now I want to move everything to AutoMappings.

3 Answers

0 votes
answered Feb 22, 2016 by Rkc_a (1,810 points)
Best answer

This is a really excellent reference.
commented Feb 23, 2016 by sbeYou (520 points)
Click on it and it will take you to a source of this particular commit
+2 votes
answered Mar 21, 2016 by mildenhallM (1,120 points)
I modified the solution provided in Getting started jagregory/fluent-nhibernate Wiki GitHub to make it a bit more general
–1 vote
answered Mar 24, 2016 by qvs6123 (600 points)
This problem can occur when you reference your web

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!