private void CreateDatabase(string fileName, int blockSize)
		{
			IObjectContainer db = Db4oEmbedded.OpenFile(Config(blockSize), fileName);
			Collection4 removed = new Collection4();
			for (int idx = 0; idx < NumItemsPerClass; idx++)
			{
				BlockSizeDefragTestCase.ItemA itemA = new BlockSizeDefragTestCase.ItemA(idx);
				BlockSizeDefragTestCase.ItemB itemB = new BlockSizeDefragTestCase.ItemB(FillStr('x'
					, idx));
				db.Store(itemA);
				db.Store(itemB);
				if ((idx % DeleteRatio) == 0)
				{
					removed.Add(itemA);
					removed.Add(itemB);
				}
			}
			db.Commit();
			DeleteAndReadd(db, removed);
			db.Close();
		}
        private void CreateDatabase(string fileName, int blockSize)
        {
            IObjectContainer db      = Db4oEmbedded.OpenFile(Config(blockSize), fileName);
            Collection4      removed = new Collection4();

            for (int idx = 0; idx < NumItemsPerClass; idx++)
            {
                BlockSizeDefragTestCase.ItemA itemA = new BlockSizeDefragTestCase.ItemA(idx);
                BlockSizeDefragTestCase.ItemB itemB = new BlockSizeDefragTestCase.ItemB(FillStr('x'
                                                                                                , idx));
                db.Store(itemA);
                db.Store(itemB);
                if ((idx % DeleteRatio) == 0)
                {
                    removed.Add(itemA);
                    removed.Add(itemB);
                }
            }
            db.Commit();
            DeleteAndReadd(db, removed);
            db.Close();
        }