public async Task SaveAsync() { using (var tx = StateManager.CreateTransaction()) { var result = await StateStore.AddOrUpdateAsync(tx, EntryName, this, (k, v) => { return(this); } ); await tx.CommitAsync(); } }