mainul098
9/19/2016 - 1:58 PM

Basic Console Application Using Entity Framework 6

Basic Console Application Using Entity Framework 6

namespace EfConsoleApplication
{
    using System.Data.Entity;

    /// <summary>
    /// The person db context.
    /// </summary>
    public class PersonDbContext: DbContext
    {
        public PersonDbContext() : base("name=PersonContext")
        {
            
        }

        public DbSet<Person> Persons { get; set; }
    }
}