Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/27/09 14:38:00 (15 years ago)
Author:
svonolfe
Message:

Fixed small bug in DAL related to caching (#372)

File:
1 edited

Legend:

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

    r1449 r1452  
    224224    }
    225225
     226    public override ObjT GetById(Guid id) {
     227      return FindSingle(
     228        delegate() {
     229          return FindById(id);
     230        },
     231        delegate() {
     232          List<RowT> found = 
     233            new List<RowT>();
     234          found.Add(
     235              FindCachedById(id));
     236          return found;
     237        });
     238    }
     239
    226240    public override void Update(ObjT obj) {
    227241      if (obj != null) {
Note: See TracChangeset for help on using the changeset viewer.