[This is preliminary documentation and subject to change.]
Unordered, unindexed paged collection which doesn't allow duplicates.
For a list of all members of this type, see PagedSet Members.
System.Object
Iesi.Collections.Set
PmMda.Net.Dog.Paging.PagedSet
Paged collections are used in server-client environments. They are loading their items by request. Every time an unloaded item is requested, the paged set will request the next items. The PagingAmount and MaxLoadedItemCount properties can be used to specify how many items are reloaded and how many items are kept in the local memory.
The items of a paged list must be of type IDataObject.
It's impossible to request an item of a paged set by its index. The only possibilities to get the items is iterating over all items using the foreach
keyword or to request the items by specifying the first and/or last item of the iteration using one of the overloaded Enumerate methods.
Error handling:
It is possible that the owner of this paged set has been modified since it was originally loaded. The owner is the data object which contains the indexed property represented by this paged set. Because the owner was modified by another transaction, the local cache may be invalid. Also, it is never possible to store the owner because of the optimistic concurrency approach of pmMDA.
The paged set can react in different ways. For further information see the DefaultOwnerModifiedAction property.
It is possible that an iteration stops before the end of the list has been reached if the optimistic concurrency violation is ignored, and the current item of the iterator was removed by another transaction. In that case, the paged set cannot move to the next item.
Namespace: PmMda.Net.Dog.Paging
Assembly: pmMDA.NET.Common (in pmMDA.NET.Common.dll)
PagedSet Members | PmMda.Net.Dog.Paging Namespace