You are here: Basics Operations & Concepts > Update Concept > Transparent Persistence > Collections

Transparent Persistence Collections

In the previous example we reviewed how Transparent Persistence should be used with simple types. For your domain-classes this is quite easy to archive. But what about the .NET-collections? Wouldn't it be nice when the collections also work together the transparent persistence framework? So that when you add a object to a persistent collection, the object is also stored when committing?

For this purpose db4o brings special, transparent persistence aware collections with it. These collections store the added objects when on commit.

These are the same collections as for transparent activation and you can use them exactly the same way. See "TA Aware Collections"