Hi all,
Is there a method to retrieve references to all entities known by a
session
using (var session = sessionFactory.OpenSession())
{
var entity = session.Get<SomeType>(someId); // "entity" is now
known by the session
....
var allKnownEntities = /* here I want to retrieve all entities
known/attached to a session */
....
}
I want to implement a "void SaveChanges()" method that will Update all
modified entities known by a session.
Cheers!
--
You received this message because you are subscribed to the Google Groups
"nhusers" 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/nhusers?hl=en.