/// <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; } } }
/// <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; } }