Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/16/08 17:26:43 (15 years ago)
Author:
svonolfe
Message:

Refactored DAL, Improved Caching (#372)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/PermissionOwner.cs

    r939 r995  
    2929
    3030  [DataContract]
    31   public class PermissionOwner {
     31  public class PermissionOwner: IHiveObject {
    3232    [DataMember]
    33     public long PermissionOwnerId { get; set; }
     33    public long Id { get; set; }
    3434    [DataMember]
    3535    public string Name { get; set; }
     
    3737    public override bool Equals(object obj) {
    3838      if (obj is PermissionOwner)
    39         return this.PermissionOwnerId.Equals(
    40           (obj as PermissionOwner).PermissionOwnerId);
     39        return this.Id.Equals(
     40          (obj as PermissionOwner).Id);
    4141      else
    4242        return base.Equals(obj);
     
    4444
    4545    public override int GetHashCode() {
    46       return this.PermissionOwnerId.GetHashCode();
     46      return this.Id.GetHashCode();
    4747    }
    4848  }
Note: See TracChangeset for help on using the changeset viewer.