Dapper icon indicating copy to clipboard operation
Dapper copied to clipboard

Adds MatchConstructorParametersWithUnderscores

Open jo-goro opened this issue 3 years ago • 0 comments

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.

jo-goro avatar Jun 16 '22 13:06 jo-goro