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
My Entities were in another class library (MyLibrary.Data). Changing below worked :