﻿namespace Todo.Models
{
    using System.Data.Entity;

    public class TodosContext : DbContext
    {
        // DEVELOPMENT ONLY: initialize the database
        static TodosContext()
        {
            Database.SetInitializer(new TodosDbInitializer());
        }
        public DbSet<TodoItem> Todos { get; set; }
    }
}