feat: 更新业务及控件功能
This commit is contained in:
@@ -431,7 +431,7 @@ namespace Lskj.Core
|
||||
}
|
||||
if (connectionType == ConnectionType.SqlServer)
|
||||
{
|
||||
connStr = EnableSqlServerIdleConnectionResilience(connStr);
|
||||
//connStr = EnableSqlServerIdleConnectionResilience(connStr);
|
||||
}
|
||||
SqlHelper.dbFactory = DbProviderFactories.GetFactory(providerName);
|
||||
if (SqlHelper._connection != null)
|
||||
@@ -460,6 +460,7 @@ namespace Lskj.Core
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.Instance.WriteLog(ex.Message);
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
return isConnect;
|
||||
|
||||
Reference in New Issue
Block a user