title: Entity Framework Code First - two entities with same name but in different namespaces
body: <p>I have a problem with db generation in following scenario:</p>
  
  <p>1.cs Project entity in First.Entities namespace maped to First_Project table.</p>
  
  <pre><code>namespace First.Entities
  {
      #region using section
  
      using System.Collections.Generic;
      using System.ComponentModel.DataAnnotations;
      using System.Data.Entity.ModelConfiguration;
      using System.Diagnostics.CodeAnalysis;
  
      #endregion
  
      [Table("First_Project")]
      public class Project
      {
          [Key]
          public int Id
          {
              get;
              set;
          }
  
          [Required]
          [MaxLength(1000)]
          public string Name
          {
              get;
              set;
          }
      }
  }
  </code></pre>
  
  <p>2.cs Project entity in Second.Entities namespace maped to Second_Project table. </p>
  
  <pre><code>namespace Second.Entities
  {
      #region using section
  
      using System.Collections.Generic;
      using System.ComponentModel.DataAnnotations;
      using System.Data.Entity.ModelConfiguration;
      using System.Diagnostics.CodeAnalysis;
  
      #endregion
  
      [Table("Second_Project")]
      public class Project
      {
          [Key]
          public int Id
          {
              get;
              set;
          }
  
          [Required]
          [MaxLength(1000)]
          public string Name
          {
              get;
              set;
          }
      }
  }
  </code></pre>
  
  <p>3.cs DbContext file</p>
  
  <pre><code>namespace DataContext
  {
      #region using section
  
      using System.Collections.Generic;
      using System.Data.Common;
      using System.Data.Entity;
      using System.Data.Entity.Infrastructure;
      using System.Data.Entity.ModelConfiguration.Conventions;
      using System.Diagnostics.CodeAnalysis;
      using First.Entities;
      using Second.Entities;
  
      #endregion
  
      public class MyEntities : DbContext
      {
          public DbSet&lt;First.Entities.Project&gt; FirstProjects { get; set; }
  
          public DbSet&lt;Second.Entities.Project&gt; SecondProjects { get; set; }
      }
  }
  </code></pre>
  
  <p>Please help.</p>