‘urn:nhibernate-mapping-2.2' has invalid child element 'property' and Fluent NHibnerate

· February 12, 2010

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.

Twitter, Facebook