public static void Main()
 {
     // Task 8
     using (var dbNorthwnd = new NorthwindEntities())
     {
         EntityChild entity = new EntityChild();
         var employees = dbNorthwnd.Employees.ToList();
         foreach (var employee in employees)
         {
             foreach (var teritory in employee.Territories)
             {
                 Console.WriteLine(teritory.TerritoryDescription);
             }
         }
     }
 }
 public static void Main()
 {
     // Task 8
     using (var dbNorthwnd = new NorthwindEntities())
     {
         EntityChild entity    = new EntityChild();
         var         employees = dbNorthwnd.Employees.ToList();
         foreach (var employee in employees)
         {
             foreach (var teritory in employee.Territories)
             {
                 Console.WriteLine(teritory.TerritoryDescription);
             }
         }
     }
 }