From 15e744eb2cc67571fa284e1e25e20551e86ecf67 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 9 Jan 2014 17:04:31 +0000 Subject: [PATCH] Fixed logic to display a menu of databases when {MENU} is the Initial Catalog in DBConnection.xml file --- PROMS/VEPROMS.CSLA.Library/Generated/Database.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;