mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 优化 ORACLE Command 绑定变量 BindByName = true;#107
This commit is contained in:
@ -57,7 +57,9 @@ namespace FreeSql.Oracle
|
||||
|
||||
protected override DbCommand CreateCommand()
|
||||
{
|
||||
return new OracleCommand();
|
||||
var cmd = new OracleCommand();
|
||||
cmd.BindByName = true;
|
||||
return cmd;
|
||||
}
|
||||
|
||||
protected override void ReturnConnection(ObjectPool<DbConnection> pool, Object<DbConnection> conn, Exception ex)
|
||||
|
Reference in New Issue
Block a user