Changing Namespaces in Entity Framework

Solution 1:

rainerh is right:

I tried to set *.edmx Custom Tool Namespace property - this did not help.
I tried to set *.Context.tt property - this did not help too.
But when I set Custom Tool Namespace property of *.tt file (right-click on the file -> Properties) - namespace was set automatically for all the classes genereated before.

Solution 2:

Open your edmx file first then press F4 or click on the properties window. Under the Schema section, there is a property called Namespace which you can modify.

Solution 3:

In my case, I just simply created a folder within the project, moved the .edmx file to the folder I created(using the solution explorer), and everything just automatically changed namespaces.