I'm using DB4O with transparent persistence/activation using msbuild enhancement as my preferred database for an ASP.NET MVC Intranet collaborative editing application. I have a few simple questions:
If I call commit() after every set of change, without ever closing my IObjectContainer in the client or server. When my WebApp crashes or get shutdown improperly, would my data still be there and intact?
As there isn't a ActivatableHashSet or ActivatableSortedSet, if I use .Net's HashSet or SortedSet or other non-TA/TP Collection types, how do I properly handle persistence when these collection change? (e.g. when these collections are members of TA classes), e.g.
[Persisted]
class A<T> where T : new()
{
HashSet<T> stuff = new ...
void AddMore() { stuff.Add(new T()) }
}