Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/08/09 12:42:03 (16 years ago)
Author:
svonolfe
Message:

Small refactoring of the manyToManyRelationHelper (#527)

Location:
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/ClientGroupAdapter.cs

    r1756 r1758  
    5151          manyToManyRelationHelper =
    5252            new ManyToManyRelationHelper<dsHiveServerTableAdapters.ClientGroup_ResourceTableAdapter,
    53               dsHiveServer.ClientGroup_ResourceRow>(new ClientGroup_ResourceAdapterWrapper());
     53              dsHiveServer.ClientGroup_ResourceRow>(new ClientGroup_ResourceAdapterWrapper(), 1);
    5454        }
    5555
     
    8686
    8787        ICollection<Guid> resources =
    88           ManyToManyRelationHelper.GetRelationships(clientGroup.Id, 1);
     88          ManyToManyRelationHelper.GetRelationships(clientGroup.Id);
    8989
    9090        clientGroup.Resources.Clear();
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/JobAdapter.cs

    r1729 r1758  
    5151          manyToManyRelationHelper =
    5252            new ManyToManyRelationHelper<dsHiveServerTableAdapters.RequiredPluginsTableAdapter,
    53               dsHiveServer.RequiredPluginsRow>(new RequiredPluginsAdapterWrapper());
     53              dsHiveServer.RequiredPluginsRow>(new RequiredPluginsAdapterWrapper(), 1);
    5454        }
    5555
     
    164164
    165165        ICollection<Guid> requiredPlugins =
    166           ManyToManyRelationHelper.GetRelationships(job.Id, 1);
     166          ManyToManyRelationHelper.GetRelationships(job.Id);
    167167       
    168168        job.PluginsNeeded.Clear();
Note: See TracChangeset for help on using the changeset viewer.