/// <exception cref="System.Exception"></exception>
		protected override void Store()
		{
			ListTypeHandlerCascadedDeleteTestCase.Item item = new ListTypeHandlerCascadedDeleteTestCase.Item
				();
			item._untypedList = new ArrayList();
			((IList)item._untypedList).Add(new ListTypeHandlerCascadedDeleteTestCase.Element(
				));
			item._typedList = new ArrayList();
			item._typedList.Add(new ListTypeHandlerCascadedDeleteTestCase.Element());
			Store(item);
		}
 /// <exception cref="System.Exception"></exception>
 protected override void Store()
 {
     ListTypeHandlerCascadedDeleteTestCase.Item item = new ListTypeHandlerCascadedDeleteTestCase.Item
                                                           ();
     item._untypedList = new ArrayList();
     ((IList)item._untypedList).Add(new ListTypeHandlerCascadedDeleteTestCase.Element(
                                        ));
     item._typedList = new ArrayList();
     item._typedList.Add(new ListTypeHandlerCascadedDeleteTestCase.Element());
     Store(item);
 }
 public virtual void TestCascadedDelete()
 {
     ListTypeHandlerCascadedDeleteTestCase.Item item = (ListTypeHandlerCascadedDeleteTestCase.Item
                                                        )RetrieveOnlyInstance(typeof(ListTypeHandlerCascadedDeleteTestCase.Item));
     Db4oAssert.PersistedCount(2, typeof(ListTypeHandlerCascadedDeleteTestCase.Element
                                         ));
     Db().Delete(item);
     Db().Purge();
     Db().Commit();
     Db4oAssert.PersistedCount(0, typeof(ListTypeHandlerCascadedDeleteTestCase.Item));
     Db4oAssert.PersistedCount(0, typeof(ArrayList));
     Db4oAssert.PersistedCount(0, typeof(ListTypeHandlerCascadedDeleteTestCase.Element
                                         ));
 }