I\'m using standards for singular table names. EF4 Code First has by default to pluralize table names. I have put the code to override this convention, but seems is not work
I our current project we had the same problem. I wrote about it in another question, but here it is:
Entity Framework v4 and underscores in column names
It's a little more complex than expected.
HTH
Your using the wrong convention. You need to do the below.
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
}