diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/Database.cs b/PROMS/VEPROMS.CSLA.Library/Generated/Database.cs index a997f4af..914a6a5a 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/Database.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/Database.cs @@ -92,7 +92,8 @@ namespace VEPROMS.CSLA.Library // otherwise use the connection string as it is in the DBConnection.xml if (xn != null) { - if (xn.InnerText.Contains("{MENU}") && SelectedDatabase != null && SelectedDatabase.Length > 0) + //if (xn.InnerText.Contains("{MENU}") && SelectedDatabase != null && SelectedDatabase.Length > 0) + if (xn.InnerText.Contains("{MENU}")) _VEPROMS_Connection = ChooseDatabase(xn.InnerText); else _VEPROMS_Connection = xn.InnerText;