Commit f57838aaefb220956f75ed4ae72d452fc6165726

Authored by Schwirg László
1 parent 8e8a7bf0

console szöveg javítása

Vrh.Log4Pro.MaintenanceConsole/Manager - SQLDataBaseManager.cs
@@ -42,7 +42,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS @@ -42,7 +42,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS
42 42
43 var config = new SQLDataBaseManagerXmlProcessor(XMLCONNECTIONSTRING, "", "hu-HU"); 43 var config = new SQLDataBaseManagerXmlProcessor(XMLCONNECTIONSTRING, "", "hu-HU");
44 var ep = new Menu.ExecutorParameter(config, args); 44 var ep = new Menu.ExecutorParameter(config, args);
45 - var menufunctions = new Menu("Manage Scheduled tasks", "Select the management function!") 45 + var menufunctions = new Menu("Manage SQL Databases", "Select the management function!")
46 .AddMenuItem(new Menu.Item(CLP.Module.SQLDataBaseManager.Function.BackupDataBase.KEY, "Backup database", BackupDataBase, ep)) 46 .AddMenuItem(new Menu.Item(CLP.Module.SQLDataBaseManager.Function.BackupDataBase.KEY, "Backup database", BackupDataBase, ep))
47 .AddMenuItem(new Menu.Item(CLP.Module.SQLDataBaseManager.Function.CreateCodeScripts.KEY, "Create code scripts", CreateCodeScripts, ep)) 47 .AddMenuItem(new Menu.Item(CLP.Module.SQLDataBaseManager.Function.CreateCodeScripts.KEY, "Create code scripts", CreateCodeScripts, ep))
48 .AddMenuItem(new Menu.Item(CLP.Module.SQLDataBaseManager.Function.CreateDataScripts.KEY, "Create data scripts", CreateDataScripts, ep)) 48 .AddMenuItem(new Menu.Item(CLP.Module.SQLDataBaseManager.Function.CreateDataScripts.KEY, "Create data scripts", CreateDataScripts, ep))
@@ -77,7 +77,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS @@ -77,7 +77,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS
77 77
78 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES); 78 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES);
79 79
80 - var menufolders = DisplaySQLDataBaseMenu(config, $"Select the scheduled task(s) to manage with function '{nameof(CreateDataScripts)}'!", silent: true); 80 + var menufolders = DisplaySQLDataBaseMenu(config, $"Select the SQL database(s) to manage with function '{nameof(CreateDataScripts)}'!", silent: true);
81 81
82 Menu.Selection sr = menufolders.Select(selectedsqldbindexes); 82 Menu.Selection sr = menufolders.Select(selectedsqldbindexes);
83 if (sr.Result == Menu.SelectionResult.Exit) { return o; } 83 if (sr.Result == Menu.SelectionResult.Exit) { return o; }
@@ -109,7 +109,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS @@ -109,7 +109,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS
109 109
110 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES); 110 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES);
111 111
112 - var menufolders = DisplaySQLDataBaseMenu(config, $"Select the scheduled task(s) to manage with function '{nameof(CreateCodeScripts)}'!", silent: true); 112 + var menufolders = DisplaySQLDataBaseMenu(config, $"Select the SQL database(s) to manage with function '{nameof(CreateCodeScripts)}'!", silent: true);
113 113
114 Menu.Selection sr = menufolders.Select(selectedsqldbindexes); 114 Menu.Selection sr = menufolders.Select(selectedsqldbindexes);
115 if (sr.Result == Menu.SelectionResult.Exit) { return o; } 115 if (sr.Result == Menu.SelectionResult.Exit) { return o; }
@@ -139,7 +139,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS @@ -139,7 +139,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS
139 139
140 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES); 140 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES);
141 141
142 - var menufolders = DisplaySQLDataBaseMenu(config, $"Select the scheduled task(s) to manage with function '{nameof(BackupDataBase)}'!", silent: true); 142 + var menufolders = DisplaySQLDataBaseMenu(config, $"Select the SQL database(s) to manage with function '{nameof(BackupDataBase)}'!", silent: true);
143 143
144 Menu.Selection sr = menufolders.Select(selectedsqldbindexes); 144 Menu.Selection sr = menufolders.Select(selectedsqldbindexes);
145 if (sr.Result == Menu.SelectionResult.Exit) { return o; } 145 if (sr.Result == Menu.SelectionResult.Exit) { return o; }
@@ -169,7 +169,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS @@ -169,7 +169,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS
169 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES); 169 var selectedsqldbindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.CMD_DATABASES);
170 bool restorefirst = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.RestoreDataBase.CMD_RESTOREFIRST,switchtype:true)!=null; 170 bool restorefirst = CommandLine.GetCommandLineArgument(args, CLP.Module.SQLDataBaseManager.Function.RestoreDataBase.CMD_RESTOREFIRST,switchtype:true)!=null;
171 171
172 - var menufolders = DisplaySQLDataBaseMenu(config, $"Select the sql database(s) to manage with function '{nameof(RestoreDataBase)}'!", silent: true); 172 + var menufolders = DisplaySQLDataBaseMenu(config, $"Select the SQL database(s) to manage with function '{nameof(RestoreDataBase)}'!", silent: true);
173 173
174 Menu.Selection sr = menufolders.Select(selectedsqldbindexes); 174 Menu.Selection sr = menufolders.Select(selectedsqldbindexes);
175 if (sr.Result == Menu.SelectionResult.Exit) { return o; } 175 if (sr.Result == Menu.SelectionResult.Exit) { return o; }
@@ -221,7 +221,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS @@ -221,7 +221,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.SQLDataBaseManagerNS
221 221
222 var selectedtaskindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.ScheduledTaskManager.Function.CMD_TASKS); 222 var selectedtaskindexes = CommandLine.GetCommandLineArgument(args, CLP.Module.ScheduledTaskManager.Function.CMD_TASKS);
223 223
224 - var menufolders = DisplaySQLDataBaseMenu(config, $"Select the sql database(s) to manage with function '{nameof(RelocatePhysicalFiles)}'!", silent: true); 224 + var menufolders = DisplaySQLDataBaseMenu(config, $"Select the SQL database(s) to manage with function '{nameof(RelocatePhysicalFiles)}'!", silent: true);
225 225
226 Menu.Selection sr = menufolders.Select(selectedtaskindexes); 226 Menu.Selection sr = menufolders.Select(selectedtaskindexes);
227 if (sr.Result == Menu.SelectionResult.Exit) { return o; } 227 if (sr.Result == Menu.SelectionResult.Exit) { return o; }