Skip to content

Commit 841b633

Browse files
committed
Minor doc additions
1 parent d74d32d commit 841b633

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/EntityFrameworkCore.Triggered.Abstractions/ITriggerContext.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,19 @@ namespace EntityFrameworkCore.Triggered
55
public interface ITriggerContext<out TEntity>
66
where TEntity : class
77
{
8+
/// <summary>
9+
/// The type of change that caused this trigger to be raised
10+
/// </summary>
811
ChangeType ChangeType { get; }
912

13+
/// <summary>
14+
/// The entity that caused this trigger to be raised
15+
/// </summary>
1016
TEntity Entity { get; }
1117

18+
/// <summary>
19+
/// This will retain the unmodified entity in case when the ChangeType is <c>Modified</c>
20+
/// </summary>
1221
TEntity? UnmodifiedEntity { get; }
1322

1423
/// <summary>

0 commit comments

Comments
 (0)