예제 #1
0
        private void AddItem(GroupShopRecord tbGroupShop)
        {
            var nextGuid = GetNextGuid();
            var temp     = new GroupShopOne();

            temp.InitByBase(tbGroupShop);
            temp.Guid = nextGuid;
            GroupShop.DbData.ItemList.Add(temp.mDbData);
            GroupShop.Datas.Add(nextGuid, temp);
            var tempList = GroupShop.StoreList[tbGroupShop.Id];

            tempList.Add(temp);
            GroupShop.Dirty = true;
        }