private void CreateShowCaseContext() { var optionsBuilder = new DbContextOptionsBuilder <ShowCaseContext>(); optionsBuilder.UseNpgsql(_connection); ShowCaseContext context = new ShowCaseContext(optionsBuilder.Options, new OperationalStoreOptionsMigrations()); Inserter = new(context); }
public ResumeDB(ShowCaseContext context) { _context = context; }
public Inserter(ShowCaseContext context) { _context = context; }