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

Added dynamic query like for CSharp30. #40

Merged
merged 1 commit into from
Aug 7, 2012

Conversation

joaomatossilva
Copy link
Contributor

The behavior is simulated with a Dictionary<string,object>.

This commit solves this issue http://stackoverflow.com/questions/11195526/dapper-c-sharp-3-5-mapping-to-dictionarystring-object

I needed this feature also, for some queries that are generated at runtime, so the use of the generic type wasn't possible.
Before this feature I had to mix dapper and manual Ado.net Commands and Parameters.

mgravell added a commit that referenced this pull request Aug 7, 2012
Added dynamic query like for CSharp30.
@mgravell mgravell merged commit 718aa36 into DapperLib:master Aug 7, 2012
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.

2 participants