title: Fluent API EF 6 - How to configure 1:M (with M being of the same type)
body: <p>I'm making my first steps with Fluent Api and I'm trying to understand how to do the following: This is my model.</p>
  
  <pre><code>public class Person
  {
      public int Id {get ; set;}
      public List&lt;View&gt; Viewers {get; set;}
  }
  
  public class View
  {
      public int Id {get; set;}
      public Person Viewer {get; set;}
  }
  </code></pre>
  
  <p>This is a simplification of my model, I want to keep track of Person's that access some others profiles. I want to know for every person who has seen their profile.</p>
  
  <p>I have tried this:</p>
  
  <pre><code>var view = modelBuilder.Entity&lt;View&gt;();
          view.HasKey(v=&gt;v.Id);
  
  var person = modelBuilder.Entity&lt;Person&gt;();
          person.HasKey(r =&gt; r.Id);
          person.HasMany(t =&gt; t.Viewers).WithRequired(t=&gt;t.Viewer);
  </code></pre>
  
  <p>I know this seems super silly, but from my code I want to be able to navigate:</p>
  
  <p>Person -> Viewers (let's take viewer 1) -> Viewers, and so on...</p>
  
  <p>Is this the right approach?</p>
  
  <p>Thanks in advanced!</p>