Uh oh!
There was an error while loading. Please reload this page.
MatchNamesWithUnderscores for Insert and Update - #605
Conversation
…amesWithUnderscores option
rhubley
commented
Oct 11, 2016
looks like there are several AppendColumnNameEqualsValue methods, you only fixed one to be columnName = @propertyName the rest are still columnName = @columnName |
pdcmoreira
commented
Oct 12, 2016
@rhubley I've changed several occurrences: Can you please check? I might have missed something, but it's currently working for Insert and Update. |
NickCraver
commented
Jan 28, 2017
The general problem with supporting this is that functionality was one way (reading). To respect it writing it a breaking change and I'm not sure it's a good one. I'm going to close this out in favor of something else: I think we need a A link to the v2 planning should appear below this shortly for discussions which are very welcome. We want your input. If you don't agree with this general solution, ping me and I'll reopen this...just trying to consolidate a lot of activity for v2. |
Insert and Update now take in consideration the DefaultTypeMap.MatchNamesWithUnderscores option and follow the model properties' PascalCase to table columns' snake_case convention. #515