SqlSugar.SqlSugarException: A command is already in progress 返回
大神请教一下,这个是什么错误SqlSugar.SqlSugarException: A command is already in progress
出现在AuthorizationHandler 做权限认证的时候动态去查询权限表
at Npgsql.NpgsqlConnector.StartUserAction(ConnectorState newState, NpgsqlCommand command)
at Npgsql.NpgsqlConnector.StartUserAction(NpgsqlCommand command)
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at System.Threading.Tasks.ValueTask`1.get_Result()
at Npgsql.NpgsqlCommand.<>c__DisplayClass90_0.<<ExecuteDbDataReaderAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at SqlSugar.AdoProvider.GetDataReaderAsync(String sql, SugarParameter[] parameters) in
热忱回答(1)
-
Noob VIP0
2020/4/13请问找到原因了吗
0 回复