示例#1
0
        private void SetStore(long storeid)
        {
            Domain.Store store = null;

            if (m_ListStores.TryGetValue(storeid, out store))
            {
                Domain.Region reg = null;
                if (m_listRegions.TryGetValue(store.RegionID, out reg))
                {
                    CountryId = reg.CountryID;
                    RegionId  = reg.ID;
                    StoreId   = storeid;
                    StoreWorldController sw = new StoreWorldController();
                    sw.LoadByStoreId(storeid);

                    storeWorldLookUpCtrl.EntityList = sw.GetListByStoreId(storeid);
                }
            }
        }