public override bool Equals(object obj)
        {
            if (obj == null || !(obj is ERTeamDetailEntity))
            {
                return(false);
            }

            return(TeamID.Equals((obj as ERTeamDetailEntity).TeamID));
        }
Пример #2
0
        public override bool Equals(object obj)
        {
            if (obj == null || !(obj is ERTeamOperationEntity))
            {
                return(false);
            }

            return(TeamID.Equals((obj as ERTeamOperationEntity).TeamID) &
                   UserID.Equals((obj as ERTeamOperationEntity).UserID));
        }