// Constructor public SoundSet(CircuitProject store) { ITableSnapshot table = store.Table("Sound"); if (table != null) { Debug.Assert(store.IsFrozen, "The store should be frozen"); this.Table = (TableSnapshot <SoundData>)table; } else { Debug.Assert(!store.IsFrozen, "In order to create table, the store should not be frozen"); this.Table = SoundData.CreateTable(store); } this.InitializeSoundSet(); }