Browse Source

Update oracle

pull/31/head
sunkaixuan 2 years ago
parent
commit
96a43fa1a6
  1. 4
      Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs

4
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;
}
/// <summary>
/// if mysql return MySqlParameter[] pars

Loading…
Cancel
Save