I am trying to rename a library item, but there's something weird going on:
I'm doing this:
var mgr = new LibraryManager();
IContent dbContent = mgr.GetContent(item.ID);
and all following calls to
("Name") return the new name. However, the change doesn't appear to be persisted in the database at all: at the following request, the document's name is back to the old name.
Am I missing something (a way to commit my changes?) ?