Skip to content

Possible bug: GridReader constructor uses DynamicParameters cast instead of IParameterCallbacks #2179

@zzjbook

Description

@zzjbook

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions