- Timestamp:
- 01/08/09 14:52:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DataAdapterBase.cs
r1088 r1093 40 40 protected abstract ObjT Convert(RowT row, ObjT obj); 41 41 42 [MethodImpl(MethodImplOptions.Synchronized)] 42 43 protected abstract RowT InsertNewRow(ObjT obj); 43 44 45 [MethodImpl(MethodImplOptions.Synchronized)] 44 46 protected abstract void UpdateRow(RowT row); 45 47 48 [MethodImpl(MethodImplOptions.Synchronized)] 46 49 protected abstract IEnumerable<RowT> FindById(long id); 47 50 51 [MethodImpl(MethodImplOptions.Synchronized)] 48 52 protected abstract IEnumerable<RowT> FindAll(); 49 53 #endregion … … 64 68 } 65 69 66 [MethodImpl(MethodImplOptions.Synchronized)]67 70 protected virtual ObjT FindSingle(Selector selector) { 68 71 RowT row = FindSingleRow(selector); … … 95 98 } 96 99 97 [MethodImpl(MethodImplOptions.Synchronized)]98 100 protected virtual RowT GetRowById(long id) { 99 101 return FindSingleRow( … … 121 123 } 122 124 123 [MethodImpl(MethodImplOptions.Synchronized)]124 125 public virtual ObjT GetById(long id) { 125 126 return FindSingle(delegate() { … … 128 129 } 129 130 130 [MethodImpl(MethodImplOptions.Synchronized)]131 131 public virtual ICollection<ObjT> GetAll() { 132 132 return new List<ObjT>(
Note: See TracChangeset
for help on using the changeset viewer.