title: Deleted object resaved by cascade - self referencing table
body: <p>I'm getting the following error:
     "deleted object would be re-saved by cascade (remove deleted object from associations)"</p>
  
  <p>I have trimmed the entirety of the ajax call to the following:</p>
  
  <pre><code>    [HttpPost]
      [UnitOfWork(Scope = FilterScope.Result)]
      public ActionResult SaveEditMode(long id, AddTrackedRowViewModel model, string editMode, List&lt;string&gt; elementNames, string provisionData)
      {    
         var cell = _supplementCoordinator.GetSupplement(id).TrackedTables.First(x =&gt; x.Name == model.Name).TrackedRows.First(x =&gt; x.Ordinal == model.Ordinal).TrackedCells.First(x =&gt; x.Name == "Detail");
         _supplementCoordinator.RemoveChildren(cell);
  
          return Json( new {Success = true});
      }
  
  
  
      public bool RemoveChildren(TrackedNode parentNode)
      {
          foreach (TrackedField trackedField in parentNode.ChildNodes)
          {
              _trackedFieldRepository.Delete(trackedField);
          }
          return true;
      }
  </code></pre>
  
  <p>My mappings are as follows</p>
  
  <pre><code>        mapping.HasMany(x =&gt; x.ChildNodes).KeyColumn("ParentNodeId").Inverse();
          mapping.References(x =&gt; x.ParentNode);
  </code></pre>