mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	- 修正 SqlServer UseConnectionFactory 类型标识;
This commit is contained in:
		@@ -23,7 +23,7 @@ namespace FreeSql.SqlServer
 | 
				
			|||||||
            base._util = util;
 | 
					            base._util = util;
 | 
				
			||||||
            if (connectionFactory != null)
 | 
					            if (connectionFactory != null)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                var pool = new FreeSql.Internal.CommonProvider.DbConnectionPool(DataType.Sqlite, connectionFactory);
 | 
					                var pool = new FreeSql.Internal.CommonProvider.DbConnectionPool(DataType.SqlServer, connectionFactory);
 | 
				
			||||||
                MasterPool = pool;
 | 
					                MasterPool = pool;
 | 
				
			||||||
                _CreateCommandConnection = pool.TestConnection;
 | 
					                _CreateCommandConnection = pool.TestConnection;
 | 
				
			||||||
                return;
 | 
					                return;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user