Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multi-map async queries to be unbuffered #597

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mburbea
Copy link
Contributor

@mburbea mburbea commented Sep 1, 2016

See #596 for more detail. Originally, the code would dispose the
dataReader that it opened before enumeration would begin. Now when you
dispose the enumerator, it will also close the command, which is line
with other behavior.
Buffered behavior remains consistent. Has no impact on sync version.

mburbea and others added 2 commits September 1, 2016 14:18
See DapperLib#596 for more detail. Originally, the code would dispose the
dataReader that it opened before enumeration would begin. Now when you
dispose the enumerator, it will also close the command, which is line
with other behavior.
Buffered behavior remains consistent. Has no impact on sync version.
@mburbea
Copy link
Contributor Author

mburbea commented Sep 12, 2016

@mgravell , I'll fix the merge conflict but is there any object to merging this?

@mgravell
Copy link
Member

mgravell commented Nov 4, 2016

Needs a test/usage-illustration, but other than that: looks good

@NickCraver
Copy link
Member

Any update on this?

@NickCraver NickCraver added v3.0 Changes awaiting the next breaking release async labels Jan 28, 2017
@NickCraver NickCraver modified the milestone: v2.0 Jan 30, 2017
@NickCraver
Copy link
Member

@mburbea Any update on example usage/test for this?

@mburbea
Copy link
Contributor Author

mburbea commented Mar 15, 2017

@NickCraver, hey sorry it's been a while since I looked at this issue I'm not currently working on a project that uses the dapper library (that was back in september) so I have not had time to look further into this. If you rather I close the issue. I can do that.

@Karillion
Copy link

Would be great to see this fixed in the current version of Dapper rather than 2,0. That seems to be a way off still.

@bungeemonkee
Copy link

Is there a reason this can't get merged (or otherwise fixed) until V2? I'm working on something at the moment that uses only async calls and could really benefit from disabling buffering in several places.

@NickCraver NickCraver added this to To do in Dapper v3 Mar 19, 2019
@NickCraver NickCraver changed the base branch from master to main June 20, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async v3.0 Changes awaiting the next breaking release
Projects
Dapper v3
  
To do
Development

Successfully merging this pull request may close these issues.

None yet

5 participants