Okay, so yesterday I managed to get the latest trunk builds of NHibernate and FluentNHibernate to work with my latest little project. (I\'m working on a bug tracking applica
For your Id woes, you need to change the FindIdentity setting. It's covered in the automapping wiki page, although albeit briefly.
It should go something like this:
AutoMap.AssemblyOf() // your usual setup
.Setup(s =>
{
s.FindIdentity = m => m.Name == "ID";
});
What this does is instruct the automapper to use your new lambda (m => m.Name == "ID") when trying to discover Ids. m is the property/member, and this lambda is called for each property on each entity; whichever you return true for is the id.