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?
In the
GridReaderconstructor, the parameter type isIParameterCallbacks? callbacks.But when creating a
GridReader, the code does:command.Parameters as DynamicParametersinstead of:command.Parameters as IParameterCallbacksThis makes custom implementations of
IParameterCallbacksunusable, even though the constructor was designed to support them.Should this be changed to use
IParameterCallbacksinstead ofDynamicParameters?