title: System.InvalidOperationException: Relational-specific methods can only be used when the context is using a relational database provider
body: <blockquote>
  <p>System.InvalidOperationException:</p>
  <p>Relational-specific methods can only be used when the context is using a relational database provider.</p>
  </blockquote>
  <p>Getting the above mentioned error while using <code>InMemoryDatabase</code> for Test Case?</p>
  <pre><code>var msaContextOptions = new DbContextOptionsBuilder&lt;MSA.DAL.MsaDbContext&gt;()
             .UseInMemoryDatabase(databaseName: &quot;Get results&quot;)
             .ConfigureWarnings(w =&gt; w.Ignore(InMemoryEventId.TransactionIgnoredWarning))
             .Options;
  </code></pre>