or /// <summary> /// Return a new snapshot of the current state of the collection /// </summary> ICollection GetSnapshot(ICollectionPersister persister);
it depend on what you are doing with it 2009/5/11 Fabio Maulo <[email protected]> > IPersistentCollection.StoredSnapshot > > 2009/5/11 Stefan Steinegger <[email protected]> > > >> Hello. I'm trying to get version 2.1 working on our codebase. I >> couldn't get my AuditTrail implementation working, because there are >> changes on NH's collections. >> >> I get the collection's "old-value" like in this implementation from >> jr76: >> >> http://groups.google.com.ar/group/nhusers/browse_thread/thread/8e7f1ff52268c395/026b94d7c865643f?lnk=gst&q=collection+snapshot#026b94d7c865643f >> >> This part does not compile anymore: >> >> var collection = previousState[i] as >> NHibernate.Collection.IPersistentCollection; >> // CollectionSnapshot.Snapshot does not exist anymore >> adaptedPreviousState[i] = collection.CollectionSnapshot.Snapshot; >> >> How can I get the "previous state" of the collection with NH 2.1? >> Thanks a lot for any hint. >> >> >> > > > -- > Fabio Maulo > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
