Entity Framework Not Creating Database

Asked around on the MSDN forums instead, and got a satisfactory answer:

Entity Framework will not create a database until first access. The current code block in Application_Start() only specifies the strategy to use when creating the database during first access.

To trigger creation of the database on startup, an instance of the database context must be created, and context.Database.Initialize(true) must be invoked.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)