I've been using an Initializer class to seed my database. Now I'd like to move to acing the database directly without the use of the initializer. However, the database won't load although I don't get an error message.
Questions:
1. What do I need to do to tell my project not to call my MyContextDBInitializer.cs class to seed the database.
2. How do I format my connection string to connect directly to my database.
Here are the parts of the program that I think are involved:
Global.asaxc.cs:
protected void Application_Start()
{
System.Data.Entity.Database.SetInitializer(new MyContext.Models. MyContextDBInitializer());
AreaRegistration.Regis ...
Go to the complete details ...