Dapper
Dapper copied to clipboard
Adds MatchConstructorParametersWithUnderscores
Resolves #818.
Adds the static MatchConstructorParametersWithUnderscores property for DefaultTypeMap which allows matching columns containing underscores to constructor parameters (eg. user_id matches userId).
This commit also renames MatchNamesWithUnderscores to MatchFieldsAndPropertiesWithUnderscores for clarity. MatchNamesWithUnderscores is marked as obsolete and simply maps to MatchFieldsAndPropertiesWithUnderscores.