GetConnection 每次操作都用这个,会消耗连接数吗 返回

SqlSugar 沟通中
1 159

  一个方法中多次这样操作会消耗连接数吗?    

        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