private void SaveRecord() { switch (_Mode) { case Mode.Create: _Store = _Storage.CreateStore(txtName.Text.Trim(), txtDescription.Text); break; case Mode.Update: _Storage.BeginTransaction(AzManIsolationLevel.ReadUncommitted); _Store.Rename(this.txtName.Text.Trim()); _Store.Update(this.txtDescription.Text.Trim()); _Storage.CommitTransaction(); break; } }