Пример #1
0
        private void GenwsService(DataRow[] drTable)
        {
            var gen = new GenJavaWS();

            gen.cmc = IniConfigHelper.getDefaultObject();
            process(drTable, gen);
        }
Пример #2
0
        private void GenDALServer(DataRow[] drTable)
        {
            var gen = new GenCsharpDALWebService();

            gen.cmc = IniConfigHelper.getDefaultObject();
            process(drTable, gen);
        }
Пример #3
0
        private void GenCsharpPage(DataRow[] drTable)
        {
            var gen = new GenCsharpPage();

            gen.cmc = IniConfigHelper.getDefaultObject();
            process(drTable, gen);
        }
Пример #4
0
        private void init()
        {
            isInit = true;
            clear();
            javaCodeGenConfigs.Clear();
            clearCbUI();
            addItem("");
            JavaCodeGenConfig config = IniConfigHelper.getDefaultObject();

            if (config != null)
            {
                setUI(config);
                setCbText(config.DisplayName);
            }
            IList <JavaCodeGenConfig> configs = IniConfigHelper.ReadDBInfo();

            foreach (JavaCodeGenConfig jcc in configs)
            {
                if (!javaCodeGenConfigs.ContainsKey(jcc.DisplayName))
                {
                    javaCodeGenConfigs.Add(jcc.DisplayName, jcc);
                    addItem(jcc.DisplayName);
                }
            }
            isInit = false;
        }