-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
SqlServer RevEng: Scaffold Included index columns #22150
Comments
The workaround for this is to find and replace where the names are wrong after performing the scaffolding. Please up-vote this issue if you're hitting it. |
I've just hit this in a large database where all the key fields are suffixed with "ID". The scaffolding produces properties with a camel cased "Id" suffix, but the IncludeProperties still references the original database column name with the uppercase "ID". Incidentally, it would be lovely if the error message made mention of which index has failed validation. |
More people are hitting dotnet#22150 than we anticipated. Give that this configuration isn't needed when mapping to an existing column, we've decided to stop scaffolding them entirely until we can fix that particular issue.
PR #23083 removes the code to scaffold them entirely. Re-purposing this issue to add them back as part of fixing the original problem. |
More people are hitting #22150 than we anticipated. Give that this configuration isn't needed when mapping to an existing column, we've decided to stop scaffolding them entirely until we can fix that particular issue.
See #22148 (comment)
We need a new provider hook to handle annotations when we copy them from ITableIndex to IIndex.
The text was updated successfully, but these errors were encountered: