aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Synchronization/Constants.cs
blob: 3558fd506e7453b8cb3a483bc5f27412ef2ac0f6 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Synchronization
{
    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";

        //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";
    }
}