Open jxbolt opened 11 years ago
@jamesabolton - Hi James, this is not a bug. The EntityFrameworkEntitiesName needs to be the full name of the EDMX data model as it is in your project. So whatever name was generated by EF is the name you need to place into the EntityFrameworkEntitiesName value. Where did the DataModel.EPAModel come from?
I've installed many applications that use EDMX without issues, as long as the EF name is correct. You might need to check your data objects Projects properties and settings to get the correct generated entities name.
I hope this helps.
I'm using MVCInstaller.MVC4 v1.1.1.1 with a MVC4 project in VS 2012. I have EntityFramework v5 installed
I have configured my installer.config with a database connection:
This will create a connection string for EF like this:
However, EF generated the class for my database as "Entities" and expects a connection string with the name "Entities" and not "DataModel.EPAModel".
I fell like this is a bug because I tried to recreate my edmx file and provide the wizard with the same literal for the Namespace and Connection string and it does not allow that which makes me think the two need to be different and isn't possible with MVCInstaller.