Ejemplo n.º 1
0
		new public void Insert(int index, Link val)
		{
			if (this._entity != null) 
			{
				val.SetEntity(this._entity);
			}
			if ( this.Contains(val) ) 
			{
				this.Remove(val);
			}
			this.Insert(index, val);
		}
Ejemplo n.º 2
0
		new public int Add(Link val)
		{
			if (this._entity != null) 
			{
				val.SetEntity(this._entity);
			}
			if ( !this.Contains(val) ) 
			{
				return base.Add(val);
			}
			return -1;
		}