using OT.COM.GuardsUnitTest; using OT.COM.LogisticsUtil; using SoldierData; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SoldierDataEntity { public partial class CustomizeDBMgr { [IgnoreUnitTest("This is GetMasterDBInfo UnitTest.", "Hercules")] public string UnitTest_GetMasterDBInfo() { string sMsg = null; try { do { if (this.GetTableInfo(typeof(otb_sys_employees), CustomizeDBMgr.MSSQLConnectString01) == null) { sMsg = string.Format("MasterDBInfo create fail. Check '{0}' exist in web.config or not", CustomizeDBMgr.MSSQLConnectString01); } } while (false); } catch (Exception ex) { sMsg = new Util().GetLastExceptionMsg(ex); } return sMsg; } } }