示例#1
0
 /// <summary>
 /// Remove an existing ClientGroupList from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveClientGroupList(ClientGroupList oldClientGroupList)
 {
     if (oldClientGroupList == null)
     {
         return;
     }
     if (this.clientGroupList != null)
     {
         if (this.clientGroupList.Contains(oldClientGroupList))
         {
             this.clientGroupList.Remove(oldClientGroupList);
             oldClientGroupList.Client = null;
         }
     }
 }
示例#2
0
 /// <summary>
 /// Add a new ClientGroupList in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddClientGroupList(ClientGroupList newClientGroupList)
 {
     if (newClientGroupList == null)
     {
         return;
     }
     if (this.clientGroupList == null)
     {
         this.clientGroupList = new System.Collections.Generic.List <ClientGroupList>();
     }
     if (!this.clientGroupList.Contains(newClientGroupList))
     {
         this.clientGroupList.Add(newClientGroupList);
         newClientGroupList.Client = this;
     }
 }