Change data in DB4O in C #

2

How do I change a data of a "table" created in Db4o?

For example, I have the following object written in DB4O:

Nome = Emerson
Senha = Teste

I want to change only the Password data for example from "Test" to "New Test", how can I change this without having to copy the data and re-record again?

    
asked by anonymous 16.11.2015 / 15:00

1 answer

1

To update an object with db4o, you must first recover it from the database, then change it and save it, with db4oContainer.Store(entity) . There is no way to update an object without retrieving it from the database before.

Alert : As the Cigano mentioned, I think the project is abandoned - the official website and documentation is no longer in the air, I even used CHM (compiled help) the last few times I needed it consult the documentation.

    
16.11.2015 / 15:16