Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/01/10 13:58:24 (14 years ago)
Author:
kgrading
Message:

Removed References to HiveLogging and updated the default logging mechanism (#991)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.LINQDataAccess/3.2/PluginInfoDao.cs

    r3011 r3578  
    2626      PluginInfo pi = DtoToEntity(bObj, null);
    2727      Context.PluginInfos.InsertOnSubmit(pi);
    28       Context.SubmitChanges();
     28      CommitChanges();
    2929      bObj.Id = pi.PluginId;
    3030      return bObj;
     
    3939      PluginInfo pi = Context.PluginInfos.SingleOrDefault(p => p.PluginId.Equals(bObj.Id));
    4040      DtoToEntity(bObj, pi);
    41       Context.SubmitChanges();
     41      CommitChanges();
    4242    }
    4343
     
    5353                                };
    5454          Context.PluginInfos.InsertOnSubmit(dbpi);
    55           Context.SubmitChanges();
     55          CommitChanges();
    5656        }
    5757
     
    6060        rq.PluginInfo = dbpi;
    6161        Context.RequiredPlugins.InsertOnSubmit(rq);
    62         Context.SubmitChanges();
     62        CommitChanges();
    6363      }
     64    }
     65
     66    public List<HivePluginInfoDto> GetPluginDependenciesForJob(JobDto jobDto) {
     67      return (from rp in Context.RequiredPlugins
     68              where rp.JobId.Equals(jobDto.Id)
     69              select EntityToDto(rp.PluginInfo, null)).ToList();
     70     
    6471    }
    6572
Note: See TracChangeset for help on using the changeset viewer.