In the GridReader
constructor, the parameter type is IParameterCallbacks? callbacks
.
But when creating a GridReader
, the code does:
command.Parameters as DynamicParameters
instead of: command.Parameters as IParameterCallbacks
This makes custom implementations of IParameterCallbacks
unusable, even though the constructor was designed to support them.
Should this be changed to use IParameterCallbacks
instead of DynamicParameters
?