﻿namespace StudentSystem.Services
{
    using System.Data.Entity;
    using StudentSystem.Data;
    using StudentSystem.Data.Migrations;

    public static class DataBaseConfig
    {
        public static void Initialize()
        {
            Database.SetInitializer(new MigrateDatabaseToLatestVersion<StudentSystemDbContext, Configuration>());
        }
    }
}