You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
In the #418 discussed why this might be required.
I want a single context and for an unit tests purposes I need something like this:
var builder = new DbContextOptionsBuilder<SingleContextInMyApp>();
builder.UseInMemoryDatabase(persist: true);
var options = builder.Options;
using (var context = new SingleContextInMyApp(options))
{
...test code...
}