generated from Avanade/avanade-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
CdcOperationType.cs
31 lines (27 loc) · 940 Bytes
/
CdcOperationType.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
31
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/NTangle
namespace NTangle.Cdc
{
/// <summary>
/// Represents the possible CDC operations types.
/// </summary>
/// <remarks>The values are as per the SQL Server CDC '<c>__$operation</c>', see <see href="https://docs.microsoft.com/en-us/sql/relational-databases/system-functions/cdc-fn-cdc-get-all-changes-capture-instance-transact-sql"/>.</remarks>
public enum CdcOperationType
{
/// <summary>
/// An unknown/unspecified operation type.
/// </summary>
Unspecified = 0,
/// <summary>
/// A <b>create</b> operation.
/// </summary>
Create = 2,
/// <summary>
/// An <b>update</b> operation.
/// </summary>
Update = 4,
/// <summary>
/// A <b>delete</b> operation.
/// </summary>
Delete = 1
}
}