Exemplo n.º 1
0
        // Constructor
        public ConstantSet(CircuitProject store)
        {
            ITableSnapshot table = store.Table("Constant");

            if (table != null)
            {
                Debug.Assert(store.IsFrozen, "The store should be frozen");
                this.Table = (TableSnapshot <ConstantData>)table;
            }
            else
            {
                Debug.Assert(!store.IsFrozen, "In order to create table, the store should not be frozen");
                this.Table = ConstantData.CreateTable(store);
            }
            this.InitializeConstantSet();
        }