daviden83
daviden83
I have debugged into the Dapper source and I think I've found the problem: inside the ReadImpl method called by the Read method (SqlMapper.GridReader.cs file), the GetCacheInfo is called but...
I found a better solution, without modifying the Dapper source. Change the call to QueryMultiple method from like this: ``` c# var reader = conn.QueryMultiple (spName, pars, commandType: CommandType.StoredProcedure); ```...
Any news about it? Is there a chance that the problem will be fixed in future releases?
@BrandonBoone But you call the same stored procedure also with QueryMultiple in source code? If yes, you can solve it by doing what I wrote in this comment: https://github.com/DapperLib/Dapper/issues/1430#issuecomment-937784460
Yes, I hope the flags = CommandFlags.NoCache parameter can solve your problem too.
The bug, after 2 years, still persists in the latest version 2.0.123