update<E extends Entity> method

void update<E extends Entity>(
  1. RepositoryScope<Entity> scope,
  2. E entity
)

Implementation

void update<E extends Entity>(RepositoryScope scope, E entity) {
  if (_scopes[scope] == null) throw _entityNotFound;
  _scopes[scope] = entity;
}