generated from Avanade/avanade-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
IEntityEnvelope.cs
30 lines (26 loc) · 984 Bytes
/
IEntityEnvelope.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/NTangle
namespace NTangle.Cdc
{
/// <summary>
/// Provides the required CDC envelope properties for an <see cref="IEntity"/>.
/// </summary>
public interface IEntityEnvelope : IEntity
{
/// <summary>
/// Gets or sets the database CDC <see cref="CdcOperationType"/>.
/// </summary>
CdcOperationType DatabaseOperationType { get; set; }
/// <summary>
/// Gets or sets the database log sequence number (LSN).
/// </summary>
byte[] DatabaseLsn { get; set; }
/// <summary>
/// Gets or sets the database tracking hash code.
/// </summary>
string? DatabaseTrackingHash { get; set; }
/// <summary>
/// Indicates whether the underlying database record has been physically deleted.
/// </summary>
bool IsDatabasePhysicallyDeleted { get; set; }
}
}