BusinessMgr 3.0.1.0
This commit is contained in:
@@ -93,7 +93,7 @@ namespace Sarand.Net.Standard.Dbas.Interfaces
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SetErrorState(Msg_DatabaseQueryException);
|
||||
SetErrorState(ErrorMessage.DatabaseQueryException);
|
||||
SaLogger.Warn($"{SysUtil.Fn}\n\tQuery: {dbCommand.CommandText}\n\t{ExceptionUtil.GetErrorStateMessage(exc)}");
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@ namespace Sarand.Net.Standard.Dbas.Interfaces
|
||||
{
|
||||
ClearErrorState();
|
||||
if (!IsValidInterfaceProcess(interfaceProcess)) return false;
|
||||
if (SysId.IsValid(interfaceProcess.Id)) return SetErrorState(ErrorMessage.ValiditemId);
|
||||
if (SysId.IsValid(interfaceProcess.Id)) return SetErrorState(ErrorMessage.ValidItemId);
|
||||
using (var dbConnection = Database.CreateConnection())
|
||||
using (var dbCommand = dbConnection.CreateCommand())
|
||||
{
|
||||
@@ -657,7 +657,7 @@ namespace Sarand.Net.Standard.Dbas.Interfaces
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SetErrorState(Msg_DatabaseQueryException);
|
||||
SetErrorState(ErrorMessage.DatabaseQueryException);
|
||||
SaLogger.Warn($"{SysUtil.Fn}\n\tQuery: {dbCommand.CommandText}\n\t{ExceptionUtil.GetErrorStateMessage(exc)}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user