We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74d32d commit 841b633Copy full SHA for 841b633
src/EntityFrameworkCore.Triggered.Abstractions/ITriggerContext.cs
@@ -5,10 +5,19 @@ namespace EntityFrameworkCore.Triggered
5
public interface ITriggerContext<out TEntity>
6
where TEntity : class
7
{
8
+ /// <summary>
9
+ /// The type of change that caused this trigger to be raised
10
+ /// </summary>
11
ChangeType ChangeType { get; }
12
13
14
+ /// The entity that caused this trigger to be raised
15
16
TEntity Entity { get; }
17
18
19
+ /// This will retain the unmodified entity in case when the ChangeType is <c>Modified</c>
20
21
TEntity? UnmodifiedEntity { get; }
22
23
/// <summary>
0 commit comments