public void TestCreateFromOptions() { using (var db = _options.CreateLinqToDbConnection()) { } }
public AppDbContext(DbContextOptions <AppDbContext> options, ICurrentUserInfo currentUser) : base(options) { _currentUser = currentUser; Linq2Db = options.CreateLinqToDbConnection(); }