ef-enum-to-lookup icon indicating copy to clipboard operation
ef-enum-to-lookup copied to clipboard

Custom Table and Column names

Open DanielPerezArmeria opened this issue 9 years ago • 3 comments

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

DanielPerezArmeria avatar Nov 03 '15 20:11 DanielPerezArmeria

Why would you need this?

Pull requests welcome but I'd need convincing of the need for this extra feature.

timabell avatar Jan 30 '16 17:01 timabell

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

tinonetic avatar Feb 07 '18 09:02 tinonetic

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.

timabell avatar Feb 07 '18 09:02 timabell