mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 01:05:27 +08:00 
			
		
		
		
	- 优化 IAdo.ConnectionString 使用 UseConnectionFactory 时值为 NULL 的问题;
This commit is contained in:
		@@ -19,7 +19,9 @@ namespace FreeSql.Odbc.KingbaseES
 | 
			
		||||
            base._util = util;
 | 
			
		||||
            if (connectionFactory != null)
 | 
			
		||||
            {
 | 
			
		||||
                MasterPool = new FreeSql.Internal.CommonProvider.DbConnectionPool(DataType.OdbcKingbaseES, connectionFactory);
 | 
			
		||||
                var pool = new FreeSql.Internal.CommonProvider.DbConnectionPool(DataType.OdbcKingbaseES, connectionFactory);
 | 
			
		||||
                ConnectionString = pool.TestConnection?.ConnectionString;
 | 
			
		||||
                MasterPool = pool;
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            if (!string.IsNullOrEmpty(masterConnectionString))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user