private void InitializeSyncTables() { // Create a global SyncGroup. this._globalSyncGroup = new Microsoft.Synchronization.Data.SyncGroup("ScannerCacheGlobalSyncGroup"); // Create SyncTables. this._gPSDataSyncTable = new GPSDataSyncTable(); this._gPSDataSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._gPSDataSyncTable); }
private void InitializeSyncTables() { // Create a global SyncGroup. this._globalSyncGroup = new Microsoft.Synchronization.Data.SyncGroup("LocalDataCache1GlobalSyncGroup"); // Create SyncTables. this._groupSyncTable = new GroupSyncTable(); this._groupSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._groupSyncTable); this._userSyncTable = new UserSyncTable(); this._userSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._userSyncTable); this._auditSyncTable = new AuditSyncTable(); this._auditSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._auditSyncTable); this._groupModuleSyncTable = new GroupModuleSyncTable(); this._groupModuleSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._groupModuleSyncTable); this._moduleSyncTable = new ModuleSyncTable(); this._moduleSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._moduleSyncTable); this._preferencesSyncTable = new PreferencesSyncTable(); this._preferencesSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._preferencesSyncTable); this._projectSyncTable = new ProjectSyncTable(); this._projectSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._projectSyncTable); this._userGroupSyncTable = new UserGroupSyncTable(); this._userGroupSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._userGroupSyncTable); this._userProjectSyncTable = new UserProjectSyncTable(); this._userProjectSyncTable.SyncGroup = _globalSyncGroup; this.Configuration.SyncTables.Add(this._userProjectSyncTable); }