Update 人大金仓 DbModeType

This commit is contained in:
sunkaixuan 2022-12-15 20:49:37 +08:00
parent c576761ba0
commit 3fc39f1653
2 changed files with 5 additions and 1 deletions

View File

@ -73,6 +73,10 @@ namespace SqlSugar
KdbndpCommand sqlCommand = new KdbndpCommand(sql, (KdbndpConnection)this.Connection);
sqlCommand.CommandType = this.CommandType;
sqlCommand.CommandTimeout = this.CommandTimeOut;
if (sqlCommand.CommandType == CommandType.StoredProcedure)
{
sqlCommand.DbModeType = DbMode.Oracle;
}
if (this.Transaction != null)
{
sqlCommand.Transaction = (KdbndpTransaction)this.Transaction;

View File

@ -27,7 +27,7 @@
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="3.21.1" />
<PackageReference Include="Oscar.Data.SqlClient" Version="4.0.4" />
<PackageReference Include="SqlSugarCore.Dm" Version="1.0.0" />
<PackageReference Include="SqlSugarCore.Kdbndp" Version="6.1.0" />
<PackageReference Include="SqlSugarCore.Kdbndp" Version="7.0.0" />
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.4" />
<PackageReference Include="System.Data.OleDb" Version="6.0.0" />