Skip to content

Perform reflection on templates to resolve anonymous object key / values#2183

Open
crenteriae wants to merge 1 commit intoDapperLib:mainfrom
crenteriae:fix-parameter-get
Open

Perform reflection on templates to resolve anonymous object key / values#2183
crenteriae wants to merge 1 commit intoDapperLib:mainfrom
crenteriae:fix-parameter-get

Conversation

@crenteriae
Copy link

Dapper's SqlBuilder leverages generic object lists for its templates' dynamic parameters; these parameters will be recognized and queried properly but will not appear in ParameterNames and will not be accessible via DynamicParameters.Get. The changes here use reflection to get the keys/values of the params in templates.

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.

1 participant