Exemple #1
0
        public DbContext CreateDbContext()
        {
            DbContextOptionsBuilder <NavtrackDbContext> optionsBuilder =
                new DbContextOptionsBuilder <NavtrackDbContext>();

            connectionStringProvider.ApplyConnectionString(optionsBuilder);

            return(new NavtrackDbContext(optionsBuilder.Options));
        }