title: Can I delete a single child entity without loading the entire collection?
body: <p>I have 2 classes, like the below. </p>
  
  <p>They can have very large collections - a Website may have 2,000+ WebsitePages and vice-versa. </p>
  
  <pre><code>  class WebsitePage 
    {
      public int ID {get;set;}
      public string Title {get;set;}
      public List&lt;Website&gt; Websites {get;set;}
    }
  
    class Website 
    {
      public int ID {get;set;}
      public string Title {get;set;}
      public List&lt;WebsitePage&gt; WebsitePages {get;set;}
    }
  </code></pre>
  
  <p>I am having trouble removing a WebsitePage from a Website. Particularly when removing a WebsitePage from mutliple Websites. </p>
  
  <p>For example, I might have code like this: </p>
  
  <pre><code>var pageToRemove = db.WebsitePages.FirstOrDefault();
  var websites = db.Websites.Include(i =&gt; i.WebsitePages).ToList();
  foreach(var website in websites)
  {
      website.WebsitePages.Remove(pageToRemove)
  }
  </code></pre>
  
  <p>If each website <code>Include()</code> 2k pages, you can imagine it takes ages to load that second line. </p>
  
  <p>But if I don't <code>Include()</code> the WebsitePages when fetching the Websites, there is no child collection loaded for me to delete from. </p>
  
  <p>I have tried to just <code>Include()</code> the pages that I need to delete, but of course when saving that gives me an empty collection. </p>
  
  <p><em>Is there a recommended or better way to approach this?</em></p>
  
  <p><em>I am working with an existing MVC site and I would rather not have to <a href="https://stackoverflow.com/questions/24561691/is-there-a-way-to-delete-a-child-entity-in-a-onetomany-relationship-with-a-joi">create an entity class for the join table</a> unless absolutely necessary.</em></p>