title: EF code first Many-to-many relation, no listbox generated
body: <p>I've got 3 models: </p>
  
  <ul>
  <li>generated AccountModels</li>
  <li>Article</li>
  <li>Tag</li>
  </ul>
  
  <p><pre><code>
  public UsersContext()
      : base("DefaultConnection") {}</p>
  
      public DbSet&lt;UserProfile&gt; UserProfiles { get; set; }
      public DbSet&lt;Article&gt; Articles { get; set; }
      public DbSet&lt;Tag&gt; Tags { get; set; }
  }
  
  [Table("UserProfile")]
  public class UserProfile
  {
      [Key]
      [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
      public int UserId { get; set; }
      public string UserName { get; set; }
      public virtual ICollection&lt;Article&gt; Articles { get; set; }
  }
  
  ...
  
  public class Article
  {
      public int Id { get; set; }
      public string Title { get; set; }
      public int UserProfileUserId { get; set; }
      public UserProfile UserProfile { get; set; }
      public ICollection&lt;Tag&gt; Tags { get; set; }
  }
  
  ...
  
  public class Tag
  {
      public int Id { get; set; }
      public string name { get; set; }
      public ICollection&lt;Article&gt; Articles { get; set; }
  }
  </code></pre>
  
  <p>I'm scaffolding using "Add controller" like this</p>
  
  <p><img src="https://i.stack.imgur.com/XjVfB.jpg" alt="Adding Tag controller">
  <img src="https://i.stack.imgur.com/4cjKE.jpg" alt="Adding Article controller"></p>
  
  <p>What EF creates is satisfying at first glance</p>
  
  <p><img src="https://i.stack.imgur.com/XYVho.jpg" alt="DB schema"></p>
  
  <p>I can easily select a user to which the article will belong</p>
  
  <p><img src="https://i.stack.imgur.com/Ku2KR.jpg" alt="Article create"></p>
  
  <p>But what about tags? Why EF didn't generate any listBox containing available tags? Am I demanding too much from EF or declared something wrong in models?</p>