diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/KdbndpSQLProvider.cs b/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/KdbndpSQLProvider.cs index 3d78952e3..5752df057 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/KdbndpSQLProvider.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/Kdbndp/KdbndpSQLProvider.cs @@ -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; diff --git a/Src/Asp.NetCore2/SqlSugar/SqlSugar.csproj b/Src/Asp.NetCore2/SqlSugar/SqlSugar.csproj index 43cdb5e04..2cd353048 100644 --- a/Src/Asp.NetCore2/SqlSugar/SqlSugar.csproj +++ b/Src/Asp.NetCore2/SqlSugar/SqlSugar.csproj @@ -27,7 +27,7 @@ - +