/// <summary>
 /// Puts an entity in to the repo
 /// </summary>
 /// <param name="e"></param>
 public void AddPersistenceData(TypedEntity e)
 {
     using (var unit = Hive.OpenWriter <IContentStore>())
     {
         unit.Repositories.AddOrUpdate(e);
         unit.Complete();
     }
 }
 public void AddPersistenceData(AbstractSchemaPart e)
 {
     using (var unit = Hive.OpenWriter <IContentStore>())
     {
         unit.Repositories.Schemas.AddOrUpdate(e);
         unit.Complete();
     }
 }
 /// <summary>
 /// Puts an entity in to the repo
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="e"></param>
 public void AddPersistenceData <T>(Revision <T> e)
     where T : TypedEntity
 {
     using (var unit = Hive.OpenWriter <IContentStore>())
     {
         unit.Repositories.Revisions.AddOrUpdate(e);
         unit.Complete();
     }
 }