コード例 #1
0
        partial void OnHandle(RenameInventoryItemCommand command)
        {
            InventoryItem item = UnitOfWork.Get <InventoryItem>(command.Rsn);

            item.ChangeName(command.NewName);
            UnitOfWork.Commit();
        }