From Orm, why is this Fluent NHibernate AutopMapping override class being ignored?


+1 vote
asked Mar 2, 2016 by KukHinckson (1,600 points)
When I define auto mapping overrides by calling. Override(), I get results I expect (Task.

3 Answers

0 votes
answered May 12, 2016 by goalnot (490 points)
selected May 13, 2016 by To_Laslo
commented May 12, 2016 by ubj_3218_acc (210 points)
To begin with we should take a look at the static AutoMap
commented May 12, 2016 by Or_2082_va (140 points)
This is something that I came up with before I found this thread. See a demo and answer here for usage
commented May 13, 2016 by To_Laslo (490 points)
I have a simple solution for this problem. I hope for some this might be helpful
commented May 13, 2016 by znaThere (150 points)
This is being described in this article
commented May 14, 2016 by Va1619 (670 points)
Hope this will help you
0 votes
answered Apr 21, 2016 by Jorn_find (670 points)

So lets start with a model that has a base class we'd like to ignore.
To use overrides, you need to instruct your Auto Map instance to use them.
We're going to utilise the fluent configuration API to create our Session Factory.
+1 vote
answered May 22, 2016 by yra9527 (200 points)
Doing this will ensure they are included in the Auto Mappings

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!







...