SqlSugar.SqlSugarException: A command is already in progress 返回

求助
76
该叫什么 发布于1周前
悬赏:0 飞吻

大神请教一下,这个是什么错误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


热忱回答0

版块

学习文档

最新会员

发布达人

回贴达人