registerEntityRepository<O extends Object> method
void
registerEntityRepository<
O extends Object>( - EntityRepository<O> entityRepository
)
override
Implementation
@override
void registerEntityRepository<O extends Object>(
EntityRepository<O> entityRepository) {
checkNotClosed();
_entityRepositories[entityRepository.type] = entityRepository;
_entityRepositoriesByName[entityRepository.name] = entityRepository;
_entityRepositoriesByNameSimplified[entityRepository.nameSimplified] =
entityRepository;
if (entityRepository is DBSQLEntityRepository<O>) {
_entityRepositoriesByDBTableName[entityRepository.tableName] =
entityRepository;
}
}