private void GenerateCommand() { GeneratedCommands = new List <string>(); var destconnections = (from p in DestinationConnectionList where p.IsChecked == true select p.Connection).ToList(); if ((destconnections == null) || (destconnections.Count == 0)) { return; } if (SelectedConnection == null) { return; } if (SelectedObjectTypeList == null) { return; } if ((ObjectID == null) || (ObjectID.Trim() == string.Empty)) { return; } try { GeneratedCommands = _CommandService.GenerateCommands( SelectedConnection, SelectedObjectTypeList, ObjectID, destconnections, BackupPath, WorkingPath, this.UseTimestamp, DestinationBackup, ExportFob, ExportTxt, PauseBeforeImport ); } catch (Exception ex) { NotifyError("Error al generar los comandos para exportacion", ex); } }