Beispiel #1
0
 public static void Cut(this CompanyDataClassesDataContext company)
 {
     foreach (var employee in company.Employees)
     {
         employee.Salary /= 2;
     }
     company.SubmitChanges();
 }