title: How to define one list property that maps to multiple one to manys of shared super type in fluent ef core?
body: <p>First I have a <strong>base class</strong> like this:</p>
  <pre><code>public class BaseModel
  {
        public string Information { get; set; }
  }
  </code></pre>
  <p>Then I have two <strong>sub classes</strong> of the <strong>base class</strong>:</p>
  <pre><code>public class SubType1 : BaseModel
  {
      public int Id { get; set; }
  
      public int TestData1 { get; set; }
  
      public int ParentId { get; set; }
  
      public virtual Parent Parent { get; set; }
  }
  
  
  public class SubType2: BaseModel
  {
      public int Id { get; set; }
  
      public string TestData2 { get; set; }
  
      public int ParentId { get; set; }
  
      public virtual Parent Parent { get; set; }
  }
  </code></pre>
  <p>Then I have a <strong>parent class</strong> that has a <strong>list</strong> of the <strong>base class</strong>:</p>
  <pre><code>public class Parent
  {
      public int Id { get; set; }
  
      public virtual List&lt;BaseModel&gt; Components { get; set; } = new List&lt;BaseModel&gt;();
  }
  </code></pre>
  <p>The <strong>Parent</strong> <strong>entity</strong> has <strong>many</strong> <strong>SubType1</strong>s and then also <strong>many</strong> <strong>SubType2</strong>s</p>
  <p><strong>SubType1</strong> and <strong>SubType2</strong> each have their <strong>own table</strong></p>
  <p>What is some <strong>fluent</strong> I could add that would automatically make the <strong>Components</strong> list on the <strong>Parent</strong> entity return all entites from the <strong>SubType1</strong> and <strong>SubType2</strong> tables?</p>
  <p><strong>Key requirement</strong>: Needs to be in fluent</p>