1.

Does Nhibernate Modify My Il? If Not, How Do You Know What Has Changed?

Answer»

No, it does not modify your IL in ANYWAY. Your IL remains exactly as it was when you COMPILED it.

When an object is LOADED by NHibernate the ISession keeps a snapshot of the state of your object. When you FLUSH() the ISession NHibernate compares that snapshot to the current state of the object. The appropriate changes are written to the database.

No, it does not modify your IL in anyway. Your IL remains exactly as it was when you compiled it.

When an object is loaded by NHibernate the ISession keeps a snapshot of the state of your object. When you Flush() the ISession NHibernate compares that snapshot to the current state of the object. The appropriate changes are written to the database.



Discussion

No Comment Found