title: Table per Hierarchy without discriminator in EF core
body: <p>There is a existing database and we have multiple columns to decide Table Per Hierarchy.It is not convenient to add any new column as discriminator. We have Table Per Hierarchy database structure as below.</p>
  <ul>
  <li>Product - Base Entity (Database Table)</li>
  <li>Glass   - Child Entity (Model class)</li>
  <li>Parts   - Child Entity (Model class)</li>
  <li>Others   - Child Entity.(Model class)</li>
  </ul>
  <p>(Update)
  Discrimination as below,</p>
  <ul>
  <li>Glass - ProductID &gt; 1Lac &lt; 2Lac  &amp; ProductType = 1,2,3,4,5,100</li>
  <li>Parts - ProductID &gt; 2Lac &lt;= 3Lac  &amp; ProductType = 100,101,201,203,204</li>
  <li>Others -ProductID &gt; 3Lac &lt;= 4Lac  &amp; ProductType = All other product type.</li>
  </ul>
  <p>Table also contains columns (VarBinary, XML type) which shares between Base and Child entities as per type.
  I want to get Records for Glass structure from Product table. How can I get this without any discriminator column provided?</p>