DapperLib / Dapper.Contrib

Dapper community contributions - additional extensions for Dapper
Other
268 stars 98 forks source link

Table Pluralization #121

Open Q-Tec90 opened 2 years ago

Q-Tec90 commented 2 years ago

Is there still no way to disable the default table pluralization? I was looking for something compareable to entity framework becaues I can't use ef framework in the current project but the forced default table pluralization is killing me. The entity classes will be generated externally and I can not add the table attribute to the table type because everytime the interface gets extended the classes will be generated again and the attribute will be gone.

meixger commented 2 years ago

@Q-Tec90 Have you seen the SqlMapperExtensions.TableNameMapper?