public void recreateTable <tRow>() where tRow : new() { eTableState oldState = closeTable <tRow>(); Type typeRow = typeof(tRow); TypeSerializer ts = (TypeSerializer)this.serializer.FindSerializerForType(typeRow); ts.RecreateTable(this); reopenTable <tRow>(oldState); }
internal void reopenTable <tRow>(eTableState state) where tRow : new() { if (eTableState.closed == state) { return; } TypeSerializer ts = (TypeSerializer)this.serializer.FindSerializerForType(typeof(tRow)); this.addType(ts, eTableState.opennedReadOnly == state); }