Dapper
Dapper copied to clipboard
Perform reflection on templates to resolve anonymous object key / values
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.