aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Synchronization/SyncConfiguration.cs
blob: 60bb0a4c041eed5db79d2573fd70cdee26b8fb70 (plain)
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Synchronization
{
    /// <summary>
    /// Represents a table synchronization configuration.
    /// </summary>
    public enum SyncConfiguration
    {
        /// <summary>
        /// Removes all rows in the target DB and inserts all rows from source.
        /// </summary>
        OverwriteLocal,
        /// <summary>
        /// Synchronize (Insert, Update) rows by LAST_UPDATED field.
        /// </summary>
        Synchronize,
        /// <summary>
        /// Synchronize (Insert, Update) rows by LAST_UPDATED field without adding rows from source to target.
        /// </summary>
        SynchronizeToRemote
    }
}