Add an entity repository