/// <summary> /// Remove an existing SsnDevice from the collection /// </summary> /// <pdGenerated>Default Remove</pdGenerated> public void RemovePerteneceA(SsnDevice oldSsnDevice) { if (oldSsnDevice == null) { return; } if (this.perteneceA != null) { if (this.perteneceA.Contains(oldSsnDevice)) { this.perteneceA.Remove(oldSsnDevice); } } }
/// <summary> /// Add a new SsnDevice in the collection /// </summary> /// <pdGenerated>Default Add</pdGenerated> public void AddPerteneceA(SsnDevice newSsnDevice) { if (newSsnDevice == null) { return; } if (this.perteneceA == null) { this.perteneceA = new System.Collections.Generic.List <SsnDevice>(); } if (!this.perteneceA.Contains(newSsnDevice)) { this.perteneceA.Add(newSsnDevice); } }