GetConnection 每次操作都用这个,会消耗连接数吗 返回
SqlSugar
沟通中
1
159
悬赏:0 飞吻
一个方法中多次这样操作会消耗连接数吗?
await _db.AsTenant().GetConnection("a").Insertable(xxx).ExecuteCommandAsync();
await _sqlSugarClient.AsTenant().GetConnection("b").Updateable(xxx).ExecuteCommandAsync();
await _sqlSugarClient.AsTenant().GetConnection("a").Queryable<xxx>().Where(s => s.Id == xxx).FirstAsync();
热忱回答(1)
-
小杰 VIP0
2周前不会
0 回复