using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.Synchronization.Local { /// /// Contains Tango database synchronization convention constants. /// 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. /// /// The table auto incremented id column name. /// public const String ID = "ID"; /// /// The table unique identifier column name used for synchronization. /// public const String GUID = "GUID"; /// /// The table last updated column name used for synchronization. /// public const String LAST_UPDATED = "LAST_UPDATED"; } }