title: How do i assosiate my PICO class with a specific table in my database with Entity Framework 5
body: <p>I have a table in my db (a many to many table) that two classes A and B have created like this.</p>
  
  <pre><code>    this.HasMany(t =&gt; t.TrafficImageQuestions)
         .WithMany(t =&gt; t.TrafficImages)
          .Map(m =&gt;
              {
                  m.ToTable("TrafficImage_Answers");
                  m.MapLeftKey("TrafficImagesGuid");
                  m.MapRightKey("TrafficImageQuestionsId");
  
  
              });
  </code></pre>
  
  <p>Now i would like to assosiate my custom class to this same table "TrafficImage_Answers", the class offcause have the left and right key and then also a 3. custom property. </p>
  
  <p>(i did add the column to the database "Answer")</p>
  
  <pre><code>    public class TrafficImageAnswer
      {
          public System.Guid TrafficImageGuid { get; set; }
          public int TrafficImageQuestionId { get; set; }
          public byte Answer { get; set; }
      }
  </code></pre>
  
  <p>I am doing this as i want entity model to keep track of my many to many relationship of A and B and still be able to look up the 3. property Answer that is in the database.</p>
  
  <p><strong>What i have tried</strong></p>
  
  <p>I tried to do the following:</p>
  
  <pre><code>    this.Property(t =&gt; t.TrafficImageQuestionId)
          .HasDatabaseGeneratedOption(DatabaseGeneratedOption.None);
      this.Property(t =&gt; t.TrafficImageGuid)
          .HasDatabaseGeneratedOption(DatabaseGeneratedOption.None);
  
      // Table &amp; Column Mappings
      this.ToTable("TrafficImage_Answers");
  </code></pre>
  
  <p>But i get that the table already exists, logic. I need to tell it that it just should use that table and not try to create it.
  (im doing this with DB mitigrations in EF 5 and Package manager).</p>