コード例 #1
0
        public static void Main(String[] args)
        {
            DVSCreate app = new DVSCreate();

            cb = AppUtil.AppUtil.initialize("DVSCreate", DVSCreate.constructOptions(), args);
            Boolean valid = app.customValidation();

            if (valid)
            {
                try
                {
                    cb.connect();
                    app.DoCreate();
                    cb.disConnect();
                }
                catch (Exception e)
                {
                    Console.WriteLine(e.Message);
                }
            }
            Console.WriteLine("Please enter to exit: ");
            Console.Read();
        }
コード例 #2
0
        public static void Main(String[] args)
        {
            DVSCreate app = new DVSCreate();
            cb = AppUtil.AppUtil.initialize("DVSCreate", DVSCreate.constructOptions(), args);
            Boolean valid = app.customValidation();
            if (valid)
            {
                try
                {
                    cb.connect();
                    app.DoCreate();
                    cb.disConnect();
                }
                catch (Exception e)
                {
                    Console.WriteLine(e.Message);
                }
            }
            Console.WriteLine("Please enter to exit: ");
            Console.Read();

        }