示例#1
0
        public void Execute()
        {
            _migrationSession.LogEntry("", "Starting " + (_isExport ? "Export" : "Import") + " Session", EventLogEntryType.Information);

            if (_isExport)
            {
                _migrationEngine.Export(ExportSession);
            }

            else
            {
                _migrationEngine.Import(ImportSession);
            }
        }