Open DanielPerezArmeria opened 8 years ago
Why would you need this?
Pull requests welcome but I'd need convincing of the need for this extra feature.
I absolutely agree with @DanielPerezArmeria .
Prefixing the table with "Enum_" is bringing programming specific naming to a database context.
It pollutes the concept of the "entity type"
It is not even a complex request
Interesting, I think that's the result of coming at this with fresh eyes. I'm certainly persuaded it should be possible to not have a prefix.
I created an Attribute allowing you to set a custom name to your lookup table and also to set the "Name" column to whatever you want. However, my code only modifies the generated SQL so I can't call the Apply method directly. It would be nice if there was built-in support to control the names of both the table and the colums directly