Change DB4O data to C#

Asked

Viewed 43 times

2

How to change a data from a "table" created in Db4o?

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

Nome = Emerson
Senha = Teste

I want to change only the Password data for example from "Test" to "Novoteste", how can I change this without having to copy the data and rewrite again?

  • I’m trying to download the bank, but I’m not getting it. In fact, I don’t even know if the project exists anymore.

1 answer

1


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

Alert : as the Gypsy mentioned, I believe the project is abandoned - the official website and documentation are no longer on the air, I even used the CHM (compiled help) the last times I needed to consult the documentation.

  • Thanks, I was trying with Commit, that’s why it didn’t work.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.