public void Delete(ProcessItemDefinition item)
 {
     this.ThrowIfDisposed(_disposed);
     item.ThrowIfNull();
     Entities.Remove(item);
     SaveChanges();
     Cache.Remove(item.Key.ToString());
 }
 public void Update(ProcessItemDefinition item)
 {
     this.ThrowIfDisposed(_disposed);
     item.ThrowIfNull();
     Entities.Update(item);
     SaveChanges();
     Cache.Set(item.Key.ToString(), item);
 }