db4o getting history of container

Posted by jacklondon on Stack Overflow See other posts from Stack Overflow or by jacklondon
Published on 2011-06-27T06:13:29Z Indexed on 2011/06/27 8:22 UTC
Read the original article Hit count: 175

Filed under:
        var config = Db4oEmbedded.NewConfiguration ();
        using (var container = Db4oEmbedded.OpenFile (config, FILE))
        {
            var foo = new Foo ("Test");
            container.Store (foo);

            foo.Name = "NewName";
            container.Store (foo);
        }

Any way to resolve the history of container for foo in the format below?

Foo created with values "Test" Foo

Foo's property "Test" changed to "NewName"

© Stack Overflow or respective owner

Related posts about db4o