-
I'm wondering if a trigger get fired n times for n entities that gets updated in bulk. For example, I have an application that notifies students of their status (Approved or Not) when their grade are uploaded. And he grades are uploaded all at once for all the students (bulk operation). So, what I'm trying to ask is that the trigger get fired for each student in the bulk or a single time for the bulk operation itself. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
A trigger will always fire for each individual changed entity in the ChangeTracker. So yes, A trigger will fire N times for N entities. |
Beta Was this translation helpful? Give feedback.
A trigger will always fire for each individual changed entity in the ChangeTracker. So yes, A trigger will fire N times for N entities.