public void UpdateEmployment(Employment employment)
        {
            Employment originalEmp = GetEmployment(employment.EmploymentId);

            originalEmp.DirectDebit = employment.DirectDebit;
            originalEmp.EmployersName = employment.EmployersName;
            originalEmp.EmploymentStatus = employment.EmploymentStatus;
            originalEmp.IncomeFrequency = employment.IncomeFrequency;
            originalEmp.Industry = employment.Industry;
            originalEmp.MonthlyIncome = employment.MonthlyIncome;
            originalEmp.PayDate = employment.PayDate;
            originalEmp.Position = employment.Position;
            originalEmp.TimeAtEmployer = employment.TimeAtEmployer;
            originalEmp.WorkPhone = employment.WorkPhone;

            context.SubmitChanges();
        }
Beispiel #2
0
 partial void DeleteEmployment(Employment instance);
Beispiel #3
0
 partial void UpdateEmployment(Employment instance);
Beispiel #4
0
 partial void InsertEmployment(Employment instance);
Beispiel #5
0
		private void detach_Employments(Employment entity)
		{
			this.SendPropertyChanging();
			entity.aspnet_Membership = null;
		}
Beispiel #6
0
		private void detach_Employments(Employment entity)
		{
			this.SendPropertyChanging();
			entity.Applicant = null;
		}