- Timestamp:
- 03/27/09 14:04:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/ResourceAdapter.cs
r1377 r1449 71 71 dsHiveServer.ResourceRow row) { 72 72 if (resource != null && row != null) { 73 row.ResourceId = resource.Id; 73 74 row.Name = resource.Name; 74 75 … … 88 89 89 90 dsHiveServer.ResourceRow row = data.NewResourceRow(); 91 row.ResourceId = resource.Id; 90 92 data.AddResourceRow(row); 91 93 … … 96 98 InsertNewRowInCache(Resource resource) { 97 99 dsHiveServer.ResourceRow row = cache.NewResourceRow(); 100 row.ResourceId = resource.Id; 98 101 cache.AddResourceRow(row); 99 102 … … 115 118 116 119 protected override IEnumerable<dsHiveServer.ResourceRow> 117 FindById( longid) {120 FindById(Guid id) { 118 121 return Adapter.GetDataById(id); 119 122 } 120 123 121 124 protected override dsHiveServer.ResourceRow 122 FindCachedById( longid) {125 FindCachedById(Guid id) { 123 126 return cache.FindByResourceId(id); 124 127 }
Note: See TracChangeset
for help on using the changeset viewer.