code: function (context) {
          var state = context.state;
          var entity = state.$name;
          return context.dispatch(state.$connection + "/deleteAll", { entity: entity }, { root: true });
      }
docs: Delete all data from the store.