OK – this was almost driving me crazy.
For demonstration purposes I had used the automapping feature of Fluent NHibnernate. In a very standard way – I used all of the conventions out of the box.
Except… I forgot to check the conventions. For example for primary keys the convention is to name it Id. Exactly that! Not ID or id or anything.
2 comments:
?? Not really sure what your point is :)
Oh no... Please don't make me, Torkel. ;)
The point was that i was stupid. Ok - there you have it :)
I used conventions that i haven't checked up. In this case that the automapper feature of Fluent Nhibernate assumes that primary keys is named Id.
Post a Comment