title: How can I get a new instance of a DbContext injected per class?
body: <p>Configure Ef Core db context to be injected as separate instance for each class rather than per call, is it feasible? I could not find any overload to achieve that.</p>
  
  <pre><code>public void ConfigureServices(IServiceCollection services)
  {
      services.AddDbContext&lt;MyDbContext&gt;(options =&gt;
          options.UseSqlServer(Configuration.GetConnectionString("Default")).EnableSensitiveDataLogging());
  }
  </code></pre>