Write an object to the database.
identity of the object written.
database to which the object should be written.
object descriptor for the object to write.