diff --git a/Src/Asp.Net/SqlServerTest/OldTest/Demos/B_SharedConnection.cs b/Src/Asp.Net/SqlServerTest/OldTest/Demos/B_SharedConnection.cs index d774d05f2..39e9e5f4a 100644 --- a/Src/Asp.Net/SqlServerTest/OldTest/Demos/B_SharedConnection.cs +++ b/Src/Asp.Net/SqlServerTest/OldTest/Demos/B_SharedConnection.cs @@ -77,7 +77,7 @@ namespace OrmTest.Demo new ConnectionConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer, - IsAutoCloseConnection = false, + IsAutoCloseConnection = true, IsShardSameThread= true /*Shard Same Thread*/ });