mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
-
This commit is contained in:
@@ -65,6 +65,7 @@ namespace SqlSugar
|
|||||||
public override IDbCommand GetCommand(string sql, SugarParameter[] parameters)
|
public override IDbCommand GetCommand(string sql, SugarParameter[] parameters)
|
||||||
{
|
{
|
||||||
OracleCommand sqlCommand = new OracleCommand(sql, (OracleConnection)this.Connection);
|
OracleCommand sqlCommand = new OracleCommand(sql, (OracleConnection)this.Connection);
|
||||||
|
sqlCommand.BindByName = true;
|
||||||
sqlCommand.CommandType = this.CommandType;
|
sqlCommand.CommandType = this.CommandType;
|
||||||
sqlCommand.CommandTimeout = this.CommandTimeOut;
|
sqlCommand.CommandTimeout = this.CommandTimeOut;
|
||||||
if (this.Transaction != null)
|
if (this.Transaction != null)
|
||||||
|
Reference in New Issue
Block a user