Esempio n. 1
0
        public override void Run( )
        {
            base.Run();
            ConnectionParams cp = ObjectExplorerServiceWrapper.CurrentConnection;

            if (cp == null)
            {
                return;
            }
            DatabaseTasks.TruncateLogs(cp);
        }
Esempio n. 2
0
        public override void Run( )
        {
            base.Run();
            ConnectionParams cp = ObjectExplorerServiceWrapper.CurrentConnection;

            if (cp == null)
            {
                return;
            }
            DatabaseTasks.DropDatabase(cp, ObjectExplorerServiceWrapper.CurrentDatabaseId);
        }