- Timestamp:
- 06/29/10 20:00:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/Persistence/HeuristicLabUserRole.cs
r3955 r3978 7 7 partial class HeuristicLabUserRole { 8 8 public override bool Equals(object obj) { 9 return ((HeuristicLabUserRole)obj).HeuristicLabRole.Equals(this.HeuristicLabRole) && ((HeuristicLabUserRole)obj).HeuristicLabUser.Equals(this.HeuristicLabUser); 9 if(this.ID == null ^ ((HeuristicLabUserRole)obj).ID == null ) 10 { 11 return false; 12 } 13 else if (this.ID == null && ((HeuristicLabUserRole)obj).ID == null) 14 { 15 return base.Equals(obj); 16 } 17 return ((HeuristicLabUserRole)obj).ID.Equals(this.ID); 10 18 } 11 19 }
Note: See TracChangeset
for help on using the changeset viewer.