We have a solution which consists of two projects - a console application project and a web application project. Each of these has an identical in schema, but differently named
I fixed this issue in EntityFramework 6.0 by.
During creation of the models, I name the .edmx to the name of the entities. i.e. (MYDbEntities)
After creation i open the MYDbEntities.Context.cs and modified the "Entities" Class to "MYDbEntities".
Make sure that the connection string is like this
metadata=res:///MYDbEntities.csdl|res:///MYDbEntities.ssdl|res://*/MYDbEntities.msl;provider=System.Data.SqlClient;provider connection string="data source=.;initial catalog=YourDb;persist security info=True;user id=sa;password=Sw0rdf!sh;multipleactiveresultsets=True;application name=EntityFramework"
Note: my entities resides in a separate DLL.
Hope this helps.