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
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color
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";
    }
}