I have something similar to this
var productList = order.Products.TolIst();
And I loop through the productList and update each product using
session.SaveOrUpdate(product);
But the problem is, the previous state of the product in OnFlushDirty function is null (Which make sense).
Is there anyway to manage/ copy/ inject the previous state?
Thanks