Hi all,
I'm using NH2 with Syscache (with some cache region in app.config)

Is there a way to change programmatically the expiration of some
region ?

Moreover how can I refresh some cached objects ?
IList list = session.CreateCriteria(typeof (Customer)).List();
for (int i = 0; i < list.Count; i++) {
    session.Refresh(list[i]);
}

Can I clear the 2nd level cache ?

FrancK

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to