Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1759


Ignore:
Timestamp:
05/08/09 12:45:58 (15 years ago)
Author:
svonolfe
Message:

Small refactoring of the manyToManyRelationHelper 2 (#527)

Location:
trunk/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataAccess.ADOHelper/3.2/ManyToManyRelationHelper.cs

    r1758 r1759  
    2727
    2828    public void UpdateRelationships(Guid objectA,
    29       IList<Guid> relationships, int childIndex) {
     29      IList<Guid> relationships) {
    3030      UpdateRelationships(objectA, relationships, null);
    3131    }
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/ClientGroupAdapter.cs

    r1758 r1759  
    127127
    128128        ManyToManyRelationHelper.UpdateRelationships(group.Id,
    129           relationships, 1);
     129          relationships);
    130130      }
    131131    }
     
    159159        //delete all relationships
    160160        ManyToManyRelationHelper.UpdateRelationships(group.Id,
    161           new List<Guid>(), 1);
     161          new List<Guid>());
    162162
    163163        return base.doDelete(group) &&
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/JobAdapter.cs

    r1758 r1759  
    321321
    322322      ManyToManyRelationHelper.UpdateRelationships(
    323         obj.Id, relationships, 1);
     323        obj.Id, relationships);
    324324    }
    325325
     
    340340          //delete all relationships
    341341          ManyToManyRelationHelper.UpdateRelationships(job.Id,
    342             new List<Guid>(), 1);
     342            new List<Guid>());
    343343
    344344          //delete orphaned pluginInfos
  • trunk/sources/HeuristicLab.Security.ADODataAccess/3.2/UserGroupAdapter.cs

    r1758 r1759  
    100100
    101101        ManyToManyRelationHelper.UpdateRelationships(group.Id,
    102           relationships, 0);
     102          relationships);
    103103      }
    104104    }
     
    108108        //delete all relationships
    109109        ManyToManyRelationHelper.UpdateRelationships(group.Id,
    110           new List<Guid>(), 0);
     110          new List<Guid>());
    111111
    112112        return base.doDelete(group) &&
Note: See TracChangeset for help on using the changeset viewer.