Add repository by Entity Framework.