コード例 #1
0
        public MappingController()
        {
            Catalog catalog = new Catalog();

            orderListData  = new OrderListData();
            personListData = new PersonListData();
            settingsData   = new SettingsData();

            orderListData.catalog  = catalog;
            personListData.catalog = catalog;
            settingsData.catalog   = catalog;

            personListData.personList.Load();

            settingsData.aviaCompanyList.Load();
            settingsData.aviaCompanyUnionList.Load();
            settingsData.mileCardStatusList.Load();
        }
コード例 #2
0
        public MappingController()
        {
            Catalog catalog = new Catalog();

            orderListData  = new OrderListData();
            personListData = new PersonListData();
            settingsData   = new SettingsData();

            orderListData.catalog  = catalog;
            personListData.catalog = catalog;
            settingsData.catalog   = catalog;

            TestDataInit();

            orderListData.orderList.Add(new Order()
            {
                ID = 2
            });
        }