/
TableTransactionActionType.cs
36 lines (35 loc) · 1.44 KB
/
TableTransactionActionType.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
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Data.Tables
{
/// <summary>
/// The type of operation to be executed on a table entity as part of a table transactional batch operations.
/// </summary>
public enum TableTransactionActionType
{
/// <summary>
/// Add the entity to the table. This is equivalent to <see cref="TableClient.AddEntity{T}"/>.
/// </summary>
Add,
/// <summary>
/// Update the entity in <see cref="TableUpdateMode.Merge"/> mode. This is equivalent to <see cref="TableClient.UpdateEntity{T}"/>
/// </summary>
UpdateMerge,
/// <summary>
/// Update the entity in <see cref="TableUpdateMode.Replace"/> mode. This is equivalent to <see cref="TableClient.UpdateEntity{T}"/>
/// </summary>
UpdateReplace,
/// <summary>
/// Delete the entity. This is equivalent to <see cref="TableClient.DeleteEntity"/>
/// </summary>
Delete,
/// <summary>
/// Upsert the entity in <see cref="TableUpdateMode.Merge"/> mode. This is equivalent to <see cref="TableClient.UpsertEntity{T}"/>
/// </summary>
UpsertMerge,
/// <summary>
/// Upsert the entity in <see cref="TableUpdateMode.Replace"/> mode. This is equivalent to <see cref="TableClient.UpsertEntity{T}"/>
/// </summary>
UpsertReplace
}
}