internal void UpdateEntity(TaxonomyNode taxon) { if (taxon.IsDetached) { throw new Exception(String.Format("Taxon '{0}' is detached", taxon.Name)); } repo.Update(taxon.entity); }