Exemple #1
0
        private void Fixupmember(member previousValue)
        {
            if (previousValue != null && previousValue.reservations.Contains(this))
            {
                previousValue.reservations.Remove(this);
            }

            if (member != null)
            {
                if (!member.reservations.Contains(this))
                {
                    member.reservations.Add(this);
                }
                if (MemberId != member.Id)
                {
                    MemberId = member.Id;
                }
            }
        }
Exemple #2
0
        private void Fixupmember(member previousValue)
        {
            if (previousValue != null && previousValue.squawkcomments.Contains(this))
            {
                previousValue.squawkcomments.Remove(this);
            }

            if (member != null)
            {
                if (!member.squawkcomments.Contains(this))
                {
                    member.squawkcomments.Add(this);
                }
                if (PosterId != member.Id)
                {
                    PosterId = member.Id;
                }
            }
        }
     private void Fixupmember(member previousValue)
     {
         if (previousValue != null && previousValue.membercheckouts.Contains(this))
         {
             previousValue.membercheckouts.Remove(this);
         }
 
         if (member != null)
         {
             if (!member.membercheckouts.Contains(this))
             {
                 member.membercheckouts.Add(this);
             }
             if (MemberId != member.Id)
             {
                 MemberId = member.Id;
             }
         }
     }
     private void Fixupmember(member previousValue)
     {
         if (previousValue != null && previousValue.squawkcomments.Contains(this))
         {
             previousValue.squawkcomments.Remove(this);
         }
 
         if (member != null)
         {
             if (!member.squawkcomments.Contains(this))
             {
                 member.squawkcomments.Add(this);
             }
             if (PosterId != member.Id)
             {
                 PosterId = member.Id;
             }
         }
     }