This commit is contained in:
sunkaixuan
2019-05-19 22:43:30 +08:00
parent 4886d15130
commit 52c00cf8a9

View File

@@ -77,7 +77,7 @@ namespace OrmTest.Demo
new ConnectionConfig() {
ConnectionString = Config.ConnectionString,
DbType = DbType.SqlServer,
IsAutoCloseConnection = false,
IsAutoCloseConnection = true,
IsShardSameThread= true /*Shard Same Thread*/
});