Changeset 1125
- Timestamp:
- 01/14/09 16:45:00 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.ADODataAccess
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/CachedDataAdapter.cs
r1096 r1125 51 51 } 52 52 53 [MethodImpl(MethodImplOptions.Synchronized)]54 53 protected virtual RowT FindSingleRow(Selector dbSelector, 55 54 Selector cacheSelector) { … … 66 65 } 67 66 68 [MethodImpl(MethodImplOptions.Synchronized)]69 67 protected virtual IEnumerable<RowT> FindMultipleRows(Selector dbSelector, 70 68 Selector cacheSelector) { … … 98 96 } 99 97 100 [MethodImpl(MethodImplOptions.Synchronized)]101 98 protected virtual ICollection<ObjT> FindMultiple(Selector dbSelector, 102 99 Selector cacheSelector) { … … 127 124 protected abstract bool PutInCache(ObjT obj); 128 125 129 [MethodImpl(MethodImplOptions.Synchronized)]130 126 protected abstract RowT FindCachedById(long id); 131 127 … … 151 147 } 152 148 153 [MethodImpl(MethodImplOptions.Synchronized)]154 149 protected override RowT GetRowById(long id) { 155 150 RowT row = -
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DataAdapterBase.cs
r1093 r1125 46 46 protected abstract void UpdateRow(RowT row); 47 47 48 [MethodImpl(MethodImplOptions.Synchronized)]49 48 protected abstract IEnumerable<RowT> FindById(long id); 50 49 51 [MethodImpl(MethodImplOptions.Synchronized)]52 50 protected abstract IEnumerable<RowT> FindAll(); 53 51 #endregion … … 55 53 protected delegate IEnumerable<RowT> Selector(); 56 54 57 [MethodImpl(MethodImplOptions.Synchronized)]58 55 protected virtual RowT FindSingleRow(Selector selector) { 59 56 RowT row = default(RowT); … … 81 78 } 82 79 83 [MethodImpl(MethodImplOptions.Synchronized)]84 80 protected virtual ICollection<ObjT> FindMultiple(Selector selector) { 85 81 IEnumerable<RowT> found =
Note: See TracChangeset
for help on using the changeset viewer.