aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Synchronization/Local/Constants.cs
blob: c5e974be3ce99dfeed4ca6f807890bde6d22e59b (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Synchronization.Local
{
    /// <summary>
    /// Contains Tango database synchronization convention constants.
    /// </summary>
    internal static class Constants
    {
        //SQLite Internal Constants
        public const String SEQUENCE_TABLE_NAME = "sqlite_sequence";
        public const String TABLE_INFO = "table_info";
        public const String COLUMN_TYPE = "type";
        public const String IS_NOT_NULL = "notnull";
        public const String DEFAULT_VALUE = "dflt_value";
        public const String SYNC_CONFIGURATIONS_TABLE_NAME = "SYNC_CONFIGURATIONS";
        public const String SYNC_CONFIGURATION_TABLE_NAME_COLUMN = "TABLE_NAME";
        public const String SYNC_CONFIGURATION_SYNC_TYPE_COLUMN = "SYNC_TYPE";

        //Must Column Names.

        /// <summary>
        /// The table auto incremented id column name.
        /// </summary>
        public const String ID = "ID";

        /// <summary>
        /// The table unique identifier column name used for synchronization.
        /// </summary>
        public const String GUID = "GUID";

        /// <summary>
        /// The table last updated column name used for synchronization.
        /// </summary>
        public const String LAST_UPDATED = "LAST_UPDATED";
    }
}