title: EF 4.1 RC Many to many relationship in EF CF
body: <p>I have two entities with many to many relationship like this:</p>
  
  <pre><code>class author
  {
    public int AuthorID{get;set;}
    public string Name{get;set;}
    public virtual ICollection&lt;book&gt; books{get;set;}
  }
  class book
  {
    public int BookID{get;set;}
    public string Name{get;set;}
   public virtual ICollection&lt;author&gt; authors{get;set;}
  
  }
  </code></pre>
  
  <p>and I have an intermediate table named Bookauthor defined like this:</p>
  
  <pre><code>  BookAuthor: int
    int AuthorID
    int BookID
  </code></pre>
  
  <p>How to map this using FluentAPI</p>
  
  <p>Thanks!!</p>