diff --git a/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs b/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs index 6b47840b5..094775554 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs @@ -99,7 +99,7 @@ namespace SqlSugar } public override IDataAdapter GetAdapter() { - return new MyOracleDataAdapter(); + return new OracleDataAdapter(); } public override DbCommand GetCommand(string sql, SugarParameter[] parameters) { @@ -155,7 +155,7 @@ namespace SqlSugar }; public override void SetCommandToAdapter(IDataAdapter dataAdapter, DbCommand command) { - ((MyOracleDataAdapter)dataAdapter).SelectCommand = (OracleCommand)command; + ((OracleDataAdapter)dataAdapter).SelectCommand = (OracleCommand)command; } /// /// if mysql return MySqlParameter[] pars