You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1012 B

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;
}
}
}