title: Dynamically access table in EF Core 2.0
body: <p>I am using <code>System.Linq.Dynamic.Core</code> to dynamically add in lambda expressions to queries in EF.</p>
  
  <p>I want to also be able to select the table by name. I found this answer:</p>
  
  <p><a href="https://stackoverflow.com/a/28101268/657477">https://stackoverflow.com/a/28101268/657477</a></p>
  
  <p>But it is not working in asp.net core 2.0.  I cannot use <code>DbSet</code> I must use <code>DbSet&lt;TEntity&gt;</code> it says in error message.</p>
  
  <p>I want to be able to do <code>db.GetTable("Namespace.MyTable").Where(...)</code></p>
  
  <p>How can I do this?</p>