是否可以在Graph Engine中實現交易?Graph Engine中的交易
我喜歡在不同的單元格上進行多個更新,然後提交或回滾這些更改。
即使有一個細胞也很困難。當我使用下一個代碼時,修改不會寫入磁盤,但內存會改變!
using (Character_Accessor characterAccessor = Global.LocalStorage.UseCharacter(cellId, CellAccessOptions.StrongLogAhead))
{
characterAccessor.Name = "Modified";
throw new Exception("Test exception");
}