public override bool Equals(object obj) { var other = obj as RoleObject; if (other == null) { return(false); } return(RoleID.Equals(other.RoleID) && ObjectID.Equals(other.ObjectID)); }
public override bool Equals(object obj) { var other = obj as UserRole; if (other == null) { return(false); } return(RoleID.Equals(other.RoleID) && UserID.Equals(other.UserID)); }
public override bool Equals(object obj) { return(RoleID.Equals(obj)); }