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

SaveChangesWithoutTriggersAsync throws when invoked from within a trigger #187

Open
koenbeuk opened this issue Sep 29, 2023 Discussed in #181 · 2 comments
Open

SaveChangesWithoutTriggersAsync throws when invoked from within a trigger #187

koenbeuk opened this issue Sep 29, 2023 Discussed in #181 · 2 comments
Labels
bug Something isn't working

Comments

@koenbeuk
Copy link
Owner

Discussed in #181

Originally posted by nahropro August 1, 2023
I have an after save trigger, in that trigger I update some entity and for avoid infinite loop I make a call to SaveChangesWithoutTriggersAsync(), but it throws this exception 'System.InvalidOperationException: 'A triggerSession has already been created''!

@koenbeuk koenbeuk added the bug Something isn't working label Sep 29, 2023
Copy link

stale bot commented Nov 30, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 30, 2023
@stale stale bot closed this as completed Dec 7, 2023
@jepzen
Copy link

jepzen commented Oct 18, 2024

I like to reopen this

@koenbeuk koenbeuk reopened this Nov 8, 2024
@koenbeuk koenbeuk removed the wontfix This will not be worked on label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants