To the point; is there any way to customize the pluralization service for database-first EF models?
Specifically, I'd like to use the *Set
suffix notation, wherein the entity sets and collection navigation properties are named accordingly:
User
toUserSet
Report
toReportSet
- etc.
I know I've seen this made possible with code-first, however I'm stuck with database-first as the development process.
I'm aware of IPluralizationService
, but can't figure out how to substitute my custom implementation.
Currently, I'm manually working through the entity sets and collection properties in the model browser (VS2015) and appending "Set" to each of them; this is fine to do once, however whenever I regenerate the model it becomes quite the pain in my ass.
Any suggestions?