BaseRepository added

A repository for entities without Id, such as join tables etc.