- 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/ClientConfigDao.cs
r3011 r3578 26 26 ClientConfig c = DtoToEntity(bObj, null); 27 27 Context.ClientConfigs.InsertOnSubmit(c); 28 Co ntext.SubmitChanges();28 CommitChanges(); 29 29 bObj.Id = c.ClientConfigId; 30 30 return bObj; … … 33 33 public void Delete(ClientConfigDto bObj) { 34 34 Context.ClientConfigs.DeleteOnSubmit(Context.ClientConfigs.SingleOrDefault(c => c.ClientConfigId.Equals(bObj.Id))); 35 Co ntext.SubmitChanges();35 CommitChanges(); 36 36 } 37 37 … … 39 39 ClientConfig cc = Context.ClientConfigs.SingleOrDefault(c => c.ClientConfigId.Equals(bObj.Id)); 40 40 DtoToEntity(bObj, cc); 41 Co ntext.SubmitChanges();41 CommitChanges(); 42 42 } 43 43
Note: See TracChangeset
for help on using the changeset viewer.