-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
HasTriggers not added with EFCore 7 #1688
Comments
You can set HasTriggers in partial class - suggest you create an issue in the EF Core repo, this is not something that can be fixed in Power Tools |
I thought that according to this comment it was supported. Just out of curiosity, can you share some light why this would need to be fixed in EF Core and not in powertools? Thanks for the workaround suggestion with the partial classes. |
@lsiepel Possibly not for your special case |
Still don't know why it is special and why this cannot be fixed here. |
@lsiepel I have not investigated deeply, but please create an issue in the EF Core repo - EF Core Power Tools build on top of the built in EF Core tooling. |
If you like my free tools, I would be very grateful for a rating or review on Visual Studio Marketplace or even a one-time or monthly sponsorship |
From this issue: #1345 i learned that adding HasTriggers (due to this breaking change ) while reverse engineering is supported. Unfortunately, i have a case where this does not seem to work.
Offcourse, let me know if you need anything else to analyse this problem.
When i apply this schema and json, the
Schema: https://1drv.ms/u/s!AnMcxmvEeupwjqVc431dzHgq-GUX6Q?e=zzLDvA
Contains three tables: with Gebruikersgroep and Autorisatieonderdeel both holding a trigger that performs actions agains Autorisatie when an insert is in play.
efpt.config.json
Versions:
The text was updated successfully, but these errors were encountered: