title: Entity Framework generated classes are not in the namespace I require, is there a way of changing the namespace it uses without regenerating?
body: <p>If I need to regenerate where should the namespace be specified. I am trying to use partial classes from within the Models namespace however they don't match.</p>
  
  <p>The simplified code fragment below is where the entity framework classes have been generated</p>
  
  <pre><code>namespace projectname
  {
     #region Contexts
  
     /// &lt;summary&gt;
    /// No Metadata Documentation available.
    /// &lt;/summary&gt;
    public partial class MyClass
    {
  
    }
  }
  </code></pre>
  
  <p>When I add a class to my models folder, </p>
  
  <pre><code>namespace projectname.Models
  {
  
      public partial class MyClass
      {
       //etc, etc 
      }
  }
  </code></pre>
  
  <p>As you can see the namespaces don't match causing issues when I try and use them as the compiler is seeing both projectname.Models.MyClass and projectname.MyClass. </p>
  
  <p>I would like some advice on the correct way to fix this, preferably to update the E.F. classes so they exist in the projectname.Models namespace, but I am not sure how to go about it.</p>