mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +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