Last change
on this file since 3992 was
3978,
checked in by bfarka, 14 years ago
|
fixed bug in RomveUsersFromRoles and fixed some tests (1046)
|
File size:
538 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 |
|
---|
6 | namespace Persistence {
|
---|
7 | partial class HeuristicLabUserRole {
|
---|
8 | public override bool Equals(object obj) {
|
---|
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);
|
---|
18 | }
|
---|
19 | }
|
---|
20 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.