- Timestamp:
- 12/17/08 15:18:45 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/UserAdapter.cs
r995 r1009 159 159 public override bool Delete(User user) { 160 160 if (user != null) { 161 //Referential integrity with user groups 162 ICollection<UserGroup> userGroups = 163 UserGroupAdapter.MemberOf(user); 164 foreach (UserGroup group in userGroups) { 165 group.Members.Remove(user); 166 UserGroupAdapter.Update(group); 167 } 168 169 //Referential integrity with jobs 161 //Referential integrity with jobs - they are cached 170 162 ICollection<Job> jobs = 171 163 JobAdapter.GetJobsOf(user);
Note: See TracChangeset
for help on using the changeset viewer.