As you can read in Section 10.3 of the NHibernate Reference Guide, database identification and CLR object identifier are equivalent per session.
Therefore, it Object.ReferenceEquals(foo, bar)will give trueif and only if fooboth are bartied to one session and are mapped to the same database row. Be careful when using the ==object identifier for comparison - the operator may have been overloaded (but you usually know this).
, , . ? , " ", , ?