I have virtual IList<T> implementation (Db4oList) for db4o (www.db4o.com) object database and want to add ICollectionView implementation.
I have described one problem with ObservableCollection here:
But there is also related problem:
Db4oList keeps only specified amount of objects in memory.
E.g.ÃÂ say I have 1 000 000 objects (items)ÃÂ in it loaded from db4o database. I keep only 1 000 of them in memory when enumerating the list or using its indexer to access items.
I have no problem with sorting or filtering, but the problem is with grouping, because when ICollection.Groups could have too many objects and because it is defined as ReadOnlyObservableCollection<object> I cannot use a virtual IList<T> implementation for groups, because there is only constructor which accepts List<T> object.
That is why I think (ReadOnly)ObservableCollection<T> should have constructor for ÃÂ IList<T> object or useÃÂ ICollection<T>/IList<T> type for ICollection.Groups property, otherwise it won`t be usefull
View Complete Post