protected virtual void Dispose(bool cleanup) { // Dispose managed ressources if (cleanup) { if (this.Tables != null) { this.Tables.Clear(); this.Tables = null; } if (this.Relations != null) { this.Relations.Clear(); this.Relations = null; } if (this.Filters != null) { this.Filters.Clear(); this.Filters = null; } } // Dispose unmanaged ressources }
/// <summary> /// Create a new SyncSet, empty /// </summary> public SyncSet() { this.Tables = new SyncTables(this); this.Relations = new SyncRelations(this); this.Filters = new SyncFilters(this); }