Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/06/11 17:49:27 (14 years ago)
Author:
cneumuel
Message:

#1233

  • added consideration of appointments in heartbeats
  • code cleanup
Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HeuristicLab.Services.Hive.DataAccess-3.4.csproj

    r5852 r6369  
    7171  </PropertyGroup>
    7272  <ItemGroup>
    73     <Reference Include="HeuristicLab.Clients.Common-3.3">
    74       <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Clients.Common-3.3.dll</HintPath>
    75     </Reference>
    7673    <Reference Include="HeuristicLab.Common-3.3">
    7774      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath>
     
    118115      <DependentUpon>Settings.settings</DependentUpon>
    119116    </Compile>
    120     <Compile Include="Tools\CreateHiveDatabaseApplication.cs" />
    121117    <Compile Include="TransactionManager.cs" />
    122118  </ItemGroup>
     
    151147  </ItemGroup>
    152148  <ItemGroup>
    153     <Content Include="Tools\cleanHiveDatabase.sql" />
    154149    <Content Include="Tools\prepareHiveDatabase.sql" />
    155150  </ItemGroup>
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HeuristicLabServicesHiveDataAccessPlugin.cs.frame

    r6033 r6369  
    88  [Plugin("HeuristicLab.Services.Hive.DataAccess", "3.4.0.$WCREV$")]
    99  [PluginFile("HeuristicLab.Services.Hive.DataAccess-3.4.dll", PluginFileType.Assembly)]
    10   [PluginDependency("HeuristicLab.Clients.Common", "3.3")]
    1110  [PluginDependency("HeuristicLab.Common", "3.3")]
    1211  [PluginDependency("HeuristicLab.Core", "3.3")]
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDao.cs

    r6367 r6369  
    152152
    153153    #region JobData Methods
    154 
    155154    public DT.JobData GetJobData(Guid id) {
    156155      using (var db = CreateContext()) {
     
    193192
    194193    #region StateLog Methods
    195 
    196194    public DT.StateLog GetStateLog(Guid id) {
    197195      using (var db = CreateContext()) {
     
    285283
    286284    #region HiveExperimentPermission Methods
    287 
    288285    public DT.HiveExperimentPermission GetHiveExperimentPermission(Guid hiveExperimentId, Guid grantedUserId) {
    289286      using (var db = CreateContext()) {
     
    322319      }
    323320    }
    324 
    325321    #endregion
    326322
     
    366362
    367363    #region PluginData Methods
    368 
    369364    public DT.PluginData GetPluginData(Guid id) {
    370365      using (var db = CreateContext()) {
     
    399394    public void DeletePluginData(Guid id) {
    400395      using (var db = CreateContext()) {
    401         var entity = db.PluginDatas.FirstOrDefault(x => x.PluginDataId == id); // todo: check if all the byte[] is loaded into memory here. otherwise work around to delete without loading it
     396        var entity = db.PluginDatas.FirstOrDefault(x => x.PluginDataId == id);
    402397        if (entity != null) db.PluginDatas.DeleteOnSubmit(entity);
    403398        db.SubmitChanges();
     
    611606      }
    612607    }
    613 
    614608    #endregion
    615609
     
    682676      using (var db = CreateContext()) {
    683677        return Convert.ToDto(db.Statistics.SingleOrDefault(x => x.StatisticsId == id));
    684 
    685678      }
    686679    }
Note: See TracChangeset for help on using the changeset viewer.