예제 #1
0
파일: Features.cs 프로젝트: nietcdf/101repo
 public static void Cut(this CompanyDataClassesDataContext company)
 {
     foreach (var employee in company.Employees)
     {
         employee.Salary /= 2;
     }
     company.SubmitChanges();
 }