I have two associated business objects - A and B. the association is (A->B)many-to-one, with B.Id a foreign key in A (so A has A.B_id in the DB).
I\'m using lazy=tru
You can use GetIdentifier method of Nhibernate session :
session.GetIdentifier(obj);