-
Notifications
You must be signed in to change notification settings - Fork 3.3k
SqlServer RevEng: Handle included index columns #22148
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Hello @bricelam! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
I was curious. |
lol, probably a bug. See also #14087 |
Looks like changes from #14087 are moved. I verified in a console app that we do remapping just don't know where. If we have remapping mechanism then probably reveng also need to remap column names to generate property names when apply annotation to IModel. |
Hmm, I wonder where would that code would go. We don't know the property names here, and the model generator just blindly copies provider-specific annotations. |
|
That handles IIndex -> ITableIndex, but I don't think we have a provider hook for the inverse. I'll file an issue. |
We would need a provider-specific reveng annotation processor |
Ugg, adding tests that assert bugs is definitely an anti-pattern. |
Fixes #17083