public virtual void Test()
        {
            IEmbeddedConfiguration config = NewConfiguration();

            Configure(config);
            IObjectContainer objectContainer = Db4oEmbedded.OpenFile(config, TempFile());

            InvalidOffsetInDeleteTestCase.Item item = new InvalidOffsetInDeleteTestCase.Item(
                );
            item._itemName   = "item";
            item._parentName = "parent";
            objectContainer.Store(item);
            objectContainer.Close();
            config = NewConfiguration();
            Configure(config);
            objectContainer = Db4oEmbedded.OpenFile(config, TempFile());
            IQuery query = objectContainer.Query();

            query.Constrain(typeof(InvalidOffsetInDeleteTestCase.Item));
            IObjectSet objectSet = query.Execute();

            item = (InvalidOffsetInDeleteTestCase.Item)objectSet.Next();
            objectContainer.Store(item);
            objectContainer.Close();
        }
		public virtual void Test()
		{
			IEmbeddedConfiguration config = NewConfiguration();
			Configure(config);
			IObjectContainer objectContainer = Db4oEmbedded.OpenFile(config, TempFile());
			InvalidOffsetInDeleteTestCase.Item item = new InvalidOffsetInDeleteTestCase.Item(
				);
			item._itemName = "item";
			item._parentName = "parent";
			objectContainer.Store(item);
			objectContainer.Close();
			config = NewConfiguration();
			Configure(config);
			objectContainer = Db4oEmbedded.OpenFile(config, TempFile());
			IQuery query = objectContainer.Query();
			query.Constrain(typeof(InvalidOffsetInDeleteTestCase.Item));
			IObjectSet objectSet = query.Execute();
			item = (InvalidOffsetInDeleteTestCase.Item)objectSet.Next();
			objectContainer.Store(item);
			objectContainer.Close();
		}