Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Table and Column names #41

Open
DanielPerezArmeria opened this issue Nov 3, 2015 · 3 comments
Open

Custom Table and Column names #41

DanielPerezArmeria opened this issue Nov 3, 2015 · 3 comments

Comments

@DanielPerezArmeria
Copy link

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

@timabell
Copy link
Owner

Why would you need this?

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

@tinonetic
Copy link

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

@timabell
Copy link
Owner

timabell commented Feb 7, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants