internal static void Configure()
 {
     if (Environments.RdsProvider == "Local")
     {
         RdsConfigurator.Configure();
         LoginsConfigurator.Configure();
     }
     TablesConfigurator.Configure();
 }
Пример #2
0
 internal static void Configure()
 {
     if (Environments.RdsProvider == "Local")
     {
         RdsConfigurator.Configure();
         LoginsConfigurator.Configure();
     }
     TablesConfigurator.Configure();
     if (Parameters.Service.ImportData)
     {
         DataImporter.Import();
     }
 }
Пример #3
0
 internal static void Configure()
 {
     if (Environments.RdsProvider == "Local")
     {
         try
         {
             RdsConfigurator.Configure();
             LoginsConfigurator.Configure();
         }
         catch (System.Data.SqlClient.SqlException e)
         {
             Consoles.Write($"[{e.Number}] {e.Message}", Consoles.Types.Error, true);
         }
         catch (System.Exception e)
         {
             Consoles.Write(e.ToString(), Consoles.Types.Error, true);
         }
     }
     TablesConfigurator.Configure();
 }