- Timestamp:
- 12/16/08 17:26:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/PermissionOwner.cs
r939 r995 29 29 30 30 [DataContract] 31 public class PermissionOwner {31 public class PermissionOwner: IHiveObject { 32 32 [DataMember] 33 public long PermissionOwnerId { get; set; }33 public long Id { get; set; } 34 34 [DataMember] 35 35 public string Name { get; set; } … … 37 37 public override bool Equals(object obj) { 38 38 if (obj is PermissionOwner) 39 return this. PermissionOwnerId.Equals(40 (obj as PermissionOwner). PermissionOwnerId);39 return this.Id.Equals( 40 (obj as PermissionOwner).Id); 41 41 else 42 42 return base.Equals(obj); … … 44 44 45 45 public override int GetHashCode() { 46 return this. PermissionOwnerId.GetHashCode();46 return this.Id.GetHashCode(); 47 47 } 48 48 }
Note: See TracChangeset
for help on using the changeset viewer.