public IEnumerable <Task.DTO.CommentTypeDTO> FetchAll(CommentTypeCriteria criteria) { IEnumerable <Task.DTO.CommentTypeDTO> result = null; TransactionUtil.DoTransactional(t => { result = ExecuteFetch(criteria, t); }); return(result); }
public void Delete(int ID) { TransactionUtil.DoTransactional(t => ExecuteDelete(ID, t)); }
public void Insert(Task.DTO.CommentDTO comment) { TransactionUtil.DoTransactional(t => ExecuteInsert(comment, t)); }
public void Update(Task.DTO.CommentDTO comment) { TransactionUtil.DoTransactional(t => ExecuteUpdate(comment, t)); }
public void Insert(Task.DTO.TaskDTO task) { TransactionUtil.DoTransactional(t => ExecuteInsert(task, t)); }
public void Update(Task.DTO.TaskDTO task) { TransactionUtil.DoTransactional(t => ExecuteUpdate(task, t)); }