Thank you for looking at this. Finally I found out the problem is at
method public override bool IsId(Member member). it needs to change to
false. questions: Why do I need this method if I set primary key in my
mapping override class? The change my made is not ideal, what is best
way to do it?
public class AutomappingConfiguration :
DefaultAutomappingConfiguration
    {
      ...
        public override bool IsId(Member member)
        {
            if (member.Name == "Id") return false;
           // return member.Name == "Id";
        }
    }
}

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to