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