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

DatabaseGeneratedAttribute in scaffolded code #22170

Open
Tracked by #22948
smitpatel opened this issue Aug 21, 2020 · 5 comments
Open
Tracked by #22948

DatabaseGeneratedAttribute in scaffolded code #22170

smitpatel opened this issue Aug 21, 2020 · 5 comments

Comments

@smitpatel
Copy link
Member

Currently we don't generate that attribute at all.

Split off from #22122

@bricelam
Copy link
Contributor

You say that like it's a bad thing... 😏

@ajcvickers
Copy link
Member

@bricelam Was this by-design?

@smitpatel
Copy link
Member Author

If it was a bad thing then it would have been a 🐛

@bricelam
Copy link
Contributor

I don’t know. I remember the mismatch between its enum and ours came up in the past. But I don’t remember deciding to never do it.

@ajcvickers
Copy link
Member

Note from triage: we should scaffold this when data annotations are being used and the property does not match the convention. Yes, the naming is bad, but it is what it is now.

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