using System.Collections.Generic; using Microsoft.EntityFrameworkCore; namespace contacts { public class PeopleContext : DbContext { public DbSet People { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder options) => options.UseSqlite("Data Source=people.db"); } public class Person { public int PersonId { get; set; } public string Name { get; set; } public int Age { get; set; } } }