private void ApplyReadAs()
        {
            Hashtable4  readAs = Container().ConfigImpl.ReadAs();
            IEnumerator i      = readAs.Iterator();

            while (i.MoveNext())
            {
                IEntry4 entry    = (IEntry4)i.Current;
                string  dbName   = (string)entry.Key();
                string  useName  = (string)entry.Value();
                byte[]  dbbytes  = GetNameBytes(dbName);
                byte[]  useBytes = GetNameBytes(useName);
                if (ClassByBytes().Get(useBytes) == null)
                {
                    ClassMetadata clazz = (ClassMetadata)ClassByBytes().Get(dbbytes);
                    if (clazz != null)
                    {
                        clazz.i_nameBytes = useBytes;
                        clazz.SetConfig(ConfigClass(dbName));
                        ClassByBytes().Remove(dbbytes);
                        ClassByBytes().Put(useBytes, clazz);
                    }
                }
            }
        }
        private void AssertIterator(Hashtable4 table, object[] keys)
        {
            IEnumerator iter     = table.Iterator();
            Collection4 expected = new Collection4(keys);

            while (iter.MoveNext())
            {
                IEntry4 entry     = (IEntry4)iter.Current;
                bool    removedOK = expected.Remove(entry.Key());
                Assert.IsTrue(removedOK);
            }
            Assert.IsTrue(expected.IsEmpty(), expected.ToString());
        }