- Timestamp:
- 01/07/09 17:04:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DataAdapterBase.cs
r1025 r1088 51 51 protected delegate IEnumerable<RowT> Selector(); 52 52 53 [MethodImpl(MethodImplOptions.Synchronized)] 53 54 protected virtual RowT FindSingleRow(Selector selector) { 54 55 RowT row = default(RowT); … … 63 64 } 64 65 66 [MethodImpl(MethodImplOptions.Synchronized)] 65 67 protected virtual ObjT FindSingle(Selector selector) { 66 68 RowT row = FindSingleRow(selector); … … 76 78 } 77 79 80 [MethodImpl(MethodImplOptions.Synchronized)] 78 81 protected virtual ICollection<ObjT> FindMultiple(Selector selector) { 79 82 IEnumerable<RowT> found = … … 92 95 } 93 96 97 [MethodImpl(MethodImplOptions.Synchronized)] 94 98 protected virtual RowT GetRowById(long id) { 95 99 return FindSingleRow( … … 117 121 } 118 122 123 [MethodImpl(MethodImplOptions.Synchronized)] 119 124 public virtual ObjT GetById(long id) { 120 125 return FindSingle(delegate() { … … 123 128 } 124 129 130 [MethodImpl(MethodImplOptions.Synchronized)] 125 131 public virtual ICollection<ObjT> GetAll() { 126 132 return new List<ObjT>(
Note: See TracChangeset
for help on using the changeset viewer.