- Timestamp:
- 05/01/10 13:58:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.LINQDataAccess/3.2/UptimeCalendarDao.cs
r3203 r3578 60 60 UptimeCalendar uc = DtoToEntity(bObj, null); 61 61 Context.UptimeCalendars.InsertOnSubmit(uc); 62 Co ntext.SubmitChanges();62 CommitChanges(); 63 63 bObj.Id = uc.UptimeCalendarId; 64 64 return bObj; … … 67 67 public void Delete(AppointmentDto bObj) { 68 68 Context.UptimeCalendars.DeleteOnSubmit(Context.UptimeCalendars.SingleOrDefault(uc => uc.UptimeCalendarId.Equals(bObj.Id))); 69 Co ntext.SubmitChanges();69 CommitChanges(); 70 70 } 71 71 … … 73 73 UptimeCalendar cc = Context.UptimeCalendars.SingleOrDefault(c => c.UptimeCalendarId.Equals(bObj.Id)); 74 74 DtoToEntity(bObj, cc); 75 Co ntext.SubmitChanges();75 CommitChanges(); 76 76 } 77 77 … … 95 95 } 96 96 97 Co ntext.SubmitChanges();97 CommitChanges(); 98 98 } 99 99 … … 143 143 } 144 144 145 Co ntext.SubmitChanges();145 CommitChanges(); 146 146 147 147 //Get all Subgroups
Note: See TracChangeset
for help on using the changeset viewer.