Skip to content

Add Query and QueryAsync overloads accepting CommandDefinition with Type array - #2280

Open
seragAhmed wants to merge 1 commit into
DapperLib:mainfrom
seragAhmed:fix/2193-queryasync-commanddefinition-types
Open

seragAhmed wants to merge 1 commit into
DapperLib:mainfrom
seragAhmed:fix/2193-queryasync-commanddefinition-types

Conversation

@seragAhmed

Copy link
Copy Markdown

Adds QueryAsync<TReturn> and Query<TReturn> overloads accepting CommandDefinition alongside Type[] types and Func<object[], TReturn> map.

This enables multi-mapping with arbitrary type arrays while supporting CancellationToken, command timeouts, and flags provided via CommandDefinition.

Fixes #2193.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No QueryAsync overload which accepts CommandDefinition, for cancellation, and Type array, for unbounded map

2 participants