using Microsoft.EntityFrameworkCore;

namespace YGNT.QuestionLibrary.EntityFrameworkCore
{
    public static class DbContextOptionsConfigurer
    {
        public static void Configure(
            DbContextOptionsBuilder<QuestionLibraryDbContext> dbContextOptions,
            string connectionString
            )
        {
            /* This is the single point to configure DbContextOptions for QuestionLibraryDbContext */
            dbContextOptions.UseMySql(connectionString);
        }
    }
}
