Esempio n. 1
0
        private void DeleteParentAndReAddChild()
        {
            ReAddCascadedDeleteTestCase.Item i = Query("parent");
            Db().Delete(i);
            Db().Store(i._member);
            Db().Commit();
            long id = Db().GetID(i._member);

            new FieldIndexAssert(typeof(ReAddCascadedDeleteTestCase.Item), "_name").AssertSingleEntry
                (FileSession(), id);
        }
			public Item(string name, ReAddCascadedDeleteTestCase.Item member)
			{
				_name = name;
				_member = member;
			}
Esempio n. 3
0
 public Item(string name, ReAddCascadedDeleteTestCase.Item member)
 {
     _name   = name;
     _member = member;
 }