Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/09 15:46:43 (15 years ago)
Author:
svonolfe
Message:

Improved handling of binary relations (#527)

File:
1 edited

Legend:

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

    r1468 r1515  
    139139
    140140    public Resource GetByName(string name) {
    141       dsHiveServer.ResourceRow row =
    142         base.FindSingleRow(
     141      return
     142        base.FindSingle (
    143143          delegate() {
    144144            return Adapter.GetDataByName(name);
    145145          });
    146 
    147       if (row != null) {
    148         Resource res = new Resource();
    149         res = Convert(row, res);
    150 
    151         return res;
    152       } else {
    153         return null;
    154       }
    155146    }
    156147
Note: See TracChangeset for help on using the changeset viewer.