using SKIPOperator.Model;
using System.Data.Entity;

namespace SKIPOperator.Context
{
    /// <summary>
    /// Context contain Employee table 
    /// </summary>
    public class PSQLDbContext : DbContext
    {
        public PSQLDbContext()
        {
            // Set Initializer
            // Drop and Create Database Always
            // This is to ensure we get a fresh database always we run this application
            Database.SetInitializer(new DropCreateDatabaseAlways<PSQLDbContext>());
        }   
        public DbSet<Employee> Employees { get; set; }
    }
}
