mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
- 修正 SqlServer UseConnectionFactory 类型标识;
This commit is contained in:
parent
94401334db
commit
ea81fde340
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user