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
    }
}
sion(path)); fileItem.Path = path; fileItem.Description = definition.Description; fileItem.Name = System.IO.Path.GetFileNameWithoutExtension(path); fileItem.Icon = definition.Icon; return fileItem; } /// <summary> /// Gets the file extension. /// </summary> public String Extension { get { return System.IO.Path.GetExtension(Path).ToLower(); } } } }