Why is this Fluent NHibernate AutopMapping override class being ignored?


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

3 Answers

0 votes
answered Mar 26, 2016 by ybp_5585_See (560 points)
selected Mar 27, 2016 by you_Chais
 
Best answer

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.
commented Mar 27, 2016 by you_Chais (1,950 points)
To begin with we should take a look at the static AutoMap
0 votes
answered Mar 29, 2016 by up_kornblu (1,210 points)
If you question actuality yet, see also Override interface mappings and creata a generic entity ...
I just thought they made a good product
0 votes
answered Apr 10, 2016 by N_6527_a (1,180 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!







...