I am using EF6. code first with existing database.
I have set
static MainContext()
{
Database.SetInitializer<MainContext>(null);
}
and
public Configuration()
{
AutomaticMigrationsEnabled = false;
}
But there are several table not found errors. the following are the tables not found .
__MigrationHistory
EdmMetadata
How can i fix this problem?