public static void Main(string[] args) { using (EntitiesModel context = new EntitiesModel()) { Console.WriteLine(context.People.Count()); } }